Author Archives: Neale

Powershell: Getting a list of VM adapter types

The following code will list the VMs which have network adapters that are not VMXNET3. This is useful for knowing what you likely have to change 😉 It will output the Name of the VM, the Type of adapter and the Network (i.e. Virtual Machine Portgroup) that it is connected to. The code will examine… Read More »

vSphere Web Client and SSH Warnings

I started using the vSphere C# client back when the product was called Virtual Infrastructure 3, and despite its many flaws it has become second nature to me. I’ve used the Web Client in 5.0 and 5.5 but never really gotten into it (for many reasons, speed being the main one). I typically use Host… Read More »

Getting a NetApp volume size with Powershell

I ran into a problem recently where I needed to get the size of a volume from a NetApp filer so I could create a new volume (of the same size) and initialise a snapmirror relationship to it. The problem was that sometimes the snapmirror relationship would fail to start, reporting that the destination volume… Read More »

Moving UCS service profiles

Moving a Cisco UCS service profile between organisations should be a simple thing to do, but sadly it cannot be done in the UCS Manager GUI. There is a useful post on the Cisco communities board here that has the PowerTool script that almost allows you to do this:

This didn’t work for me… Read More »

Unmounted NFS datastore after ESXi boots

In my home lab I recently found a problem where an NFS share I had mounted on my ESXi 5.5 device was unmounted after it had been turned on/restarted. My home lab is not that unusual, I have a N54L HP Microserver for shared storage – where I am using ZFS to carve up my… Read More »

Quick PowerCLI #1

I may or may not make this a series 😉 PowerShell with VMware is very useful. Ignoring the Connect-VIServer and Disconnect-VIServer commands, here are some tips. Getting the Swap File Datastore for all hosts in a cluster If you store VM swap files away from the VM folder (faster disk I would hope) and have… Read More »