Using PowerShell to clean up DHCP and DNS for VDI

When you run a virtual desktop infrastructure that builds and deletes hundreds of virtual machines every day, DHCP and DNS might eventually get out of sync and need some cleanup. When writing this PowerShell cleanup script, I decided to make vCenter my source of truth because has the virtual machine host names, IP addresses, power […]

Load PowerCLI into the PowerShell session as a module

Last year, VMware wrote about “PowerCLI 6.0 – Introducing PowerCLI Modules.” Although I’ve been using PowerCLI 6.0 since then, I missed the note from Alan Renouf that made it easy to load all of the PowerCLI functionality into a PowerShell session as a module instead of having to launch PowerCLI. Here was his tip/trick: 1 […]

Use PowerCLI Set-HardDisk and Invoke-VMScript to increase the size of many virtual machine hard drives

Today I decided that I wanted to increase the C: volume of 20 VMware Horizon View parent virtual machines (the source for 1,000s of linked-clone virtual desktops) from 40 GB to 60 GB. The normal/painful way to do this would be: vSphere > select the virtual machine > Edit Settings > change Hard Disk 1 […]

Installing signed SSL/TLS certificates for vCenter Server Appliance 5.5 (VCSA)

I recently upgraded to VMware vCenter v5.5 U2 and switched from Windows to the vCenter Server Appliance 5.5 (VCSA). Here are the best resources for replacing the self-signed VCSA certificates with ones signed by an internal Microsoft Certificate Authority server. Assumptions You installed the Linux vCenter Server Appliance 5.5 (VCSA) All services except vCenter Update […]