Copying my scripts to Github

I have been blogging for almost 4 years now. After a slow start back in 2014 and some quiet months every now and then I have published quite a lot of powershell code on here over the years. I have decided to make this code more accessible to everyone who wants to use it and publish it all again on GitHub.

If you are interested in my repository follow this link.

It will take some time to get all the scripts out of my blogposts and into the github repository but I will use the chance to improve some of the scripts. The problem with publishing them on this static blog is that when I improved them, I mostly never updated the published blog post again. This will change as I will post scripts only to my Github page from now on.

Update: all scripts that were published on this blog are now online at my GitHub repository.

 

Advertisements

PowerCLI: Change Admission Control Percentages

I was recently asked by a customer to explain some of the vSphere 6.5 features that would be interesting for his environment. I knew the environment so I pointed out some things that 6.5 does better than the currently installed 6.0. One of those things I mentioned was the automated adjustment of the resource percentage in the HA admission control settings.

Read More »

PowerCLI: Reporting the duration of Snapshots

One of our customers had a problem with VMs losing network connectivity while the backup was running. Their backup solution was based on VMware snapshots. After the end-users complained about a service not being responsive they investigated and found out that during the creation of the snapshot they lose the pings.

In response they wanted to check how long the snapshots take on all of their VMs. Even though their environment was not very big, it would have been very tedious to gather this information manually. PowerCLI to the rescue!

Read More »

PowerCLI: Checking ESXi Hosts Advanced Settings against VMware’s default

Over the years and releases from VMware the best practices change sometimes. In the early days we had to set a lot of advanced settings to get a desired feature to run as it should or to make the VMware Admin’s life a little easier.

The thing about these settings is that you should check them with every release. Are they still required? Have they been deprecated? Is the behaviour still the same when they get set?

Read More »