Add disk persistence information to the VI Client using PowerShell
I've further adapted Hugo's script to add a custom attribute which shows the drive persistence state(s) when the script was run.
I've further adapted Hugo's script to add a custom attribute which shows the drive persistence state(s) when the script was run.
This is based on Hugo Peeters' script to add snapshot information to the VI client using PowerShell.
We frequently need to create new virtual port groups on our ESX hosts with VLAN tags which correspond to pre-assigned DHCP scopes. I wrote this PowerShell script to create the new VPG across all hosts.
As we're running a development lab, we use a lot of templates for machine deployment and a lot of non-persistent disks to allow machines to be easily restored to a clean-state. We've had issues where machines with non-persistent disks were converted to templates. In this case…
We were working recently to align our guest virtual machine object names (the ones shown in vSphere) with their DNS names. As we have over 800 guests, this would have taken us a while to compile by hand. In order to make the process a little easier, I wrote the following…