Rescanning ESXi storage in a parallel way

Lately, I’ve been doing a lot of work provisioning and decommissioning LUNs on some Fibre Channel arrays. As you all know, this process can be somewhat tedious when provisioning a new LUN on vSphere or removing said LUN. In the past, I would always use this PowerCLI command Get-VMhost -Cluster "Cluster1" | Get-VMHostStorage -Refresh This would first get all the ESXi hosts in the cluster “Cluster1” and then launch the refresh cmdlet on each host....

13 December, 2018 · 2 min · Maarten Van Driessen

Publicly share Office 365 room calendar

A customer asked me if it was possible to have a room mailbox automatically accept meeting requests from external parties. They would also like to publish the calendar of that specific room publicly. Accept meetings from external parties Let’s start with the first question. By default, resource mailboxes only accept requests from internal senders. As you might guess, you can’t change this behavior through the GUI, Powershell to the rescue!...

7 April, 2017 · 3 min · Maarten Van Driessen

Get exclusions for all Veeam jobs

This will be another short one, but I figured someone else will have run into this. While I was doing a rework for a Veeam implementation, I noticed on several jobs that there were exclusions set inside the jobs. I wanted a list of all jobs with their respective exclusions, time for Powershell! The script starts by getting a list of all Veeam jobs. Next, it will go through all jobs and look for objects that have the type “Exclude” set....

10 October, 2016 · 1 min · Maarten Van Driessen

Remove Logs

A couple of our web servers were running into some issues with disk space. Turns out the logs weren’t being cleaned up properly. In order to remediate this, I wrote a function that can be reused anywhere. The function accepts 3 parameters: FilePath: The directory where you want to remove the logs from CutOff; Specifies the age (in days) that a file must have before being deleted. LogPath; This parameter specifies the directory where you want the CSV log file....

6 September, 2016 · 3 min · Maarten Van Driessen