Export and import vSphere customization specifications using PowerShell
I'm in the middle of preparing for a migration from VMware Virtual Infrastructure 3 to vSphere 4 just now (hence the lack of any substantial updates on this blog).
I'm in the middle of preparing for a migration from VMware Virtual Infrastructure 3 to vSphere 4 just now (hence the lack of any substantial updates on this blog).
I wrote this today to remove occurrences of the string "Tmpl" anywhere in the name of the template, and then to re-name the template with "Tmpl" as a prefix. It had a higher purpose than keeping everything nice and neat, but it's rather specific to our environment so I won't…
Carter Shanklin has used Microsoft Office Document Imaging Library (MODI) to improve Eric Sloof's script to detect Blue Screens of Death (BSoDs); it now captures the errors and converts them to text.
I got handed a list of around 1,000 servers today, and asked if any of them were part of our VI environment.
One of the nice new features of vSphere 4 is thin provisioning of virtual disks. Thin provisioned (TP) disks will be familiar if you've ever used VMware Workstation where they are used by default, (you need to select Allocate all disk space now to create thick disks).…
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…