PowerCLI 5.0.1 delivered new vCloud Director functionality including a cmdlet named Search-Cloud. If you’ve taken a look at Get-Help Search-Cloud, you’ll see a parameter named -QueryType used to “Specify what types of objects you want to search for”. That’s great, but what types of objects *can* you search for? The help, sadly, isn’t very helpful. […]
PowerCLI
PowerCLI: Remove all vmnics from a vSwitch
You can tell I’m getting rusty with the PowerCLI, which is something I intend to fix. In the meantime, I needed a PowerCLI way to remove all vmnics from a host’s vSS. If you take a look at the PowerCLI cmdlet documentation, you’ll find the syntax for Set-VirtualSwitch. It’s pretty simple; whatever NIC you pass […]
What’s new in PowerCLI 5?
Shay Levy recently wrote an article in PowerShell Magazine that leveraged PowerShell to determine the differences in PowerShell 2 vs PowerShell 3. I took his script, made a few small modifications, and used it in the same way to determine the differences between PowerCLI 4.1 U1 and PowerCLI 5.0. I also added the extra step […]
VMware: Odd issue with NFS datastores
I’ve noticed something odd with a number of clusters that I administer that have NFS datastores. One of the datastores will be duplicated, and end with (1). Typically, only one host has this duplicated datastore. At first I thought it happened because the datastore was mounted twice, once by IP address, and again by hostname/FQDN.
Managing VMware Tools advanced options: PowerCLI
The other day I was looking at my virtual machines’ VMware Tools status, and sadly, many of them are out of date. It seems like I spend a lot of my time on host patching, but the Tools update seems to fall by the wayside. Perhaps it’s the disruption to production that rebooting causes (and […]