Author Archives: Neale

vSphere REST API and C++ (Part 1)

One of the new features in vSphere 6.5 is the vSphere REST API. I’ve used the Web Services SDK before and it has never appeared as elegant as other automation APIs I’ve worked with, so the introduction of this held a lot of promise. I rarely see examples for REST services in C++ and as it’s… Read More »

Automating Brocade FC Configuration (Part 2)

From the first article we looked at how to use the SSH Sessions Powershell module to log into a Linux server that will, via a script, log into a Brocade FC switch and get the zoning configuration. As per the disclaimer in the first part, these articles have been assembled from my notes and memory… Read More »

Automating Brocade FC Configuration with Powershell (Part 1)

I’ve been looking at automating physical server creation, and there are tools from Cisco and NetApp that allow Powershell to do the heavy lifting for UCS and Storage. The missing part of the process is the FC switches (Brocade in this case, though when I researched this I could not find a toolkit for Cisco MDS)… Read More »

PowerTool – Getting UCS Blades with SD Cards

This is a quick snippet that allows you to retrieve UCS Blades that have SD cards – this might be useful in determining if your blades are ready to have an OS installed on them. These scripts assume you’ve already connected to your UCS Central or UCS Domain. This will get the blades if you’re… Read More »

Setting VM SDRS automation levels

I learnt recently that when you Storage vMotion a VM within a datastore cluster and you check the box to select which datastore you explicitly want the VM to be migrated to, it sets the SDRS automation level for the VM to disabled. Finding out which VMs have an automation level of disabled can be… Read More »

Viewing VM CPU Masks via PowerCLI

This post was updated on 9th May 2017 to fix an error condition in the script. Support for Windows Server 2012 was announced starting with ESXi 5.0 Update 2, but there was a little known flaw in this support – in that without a CPU mask, a VM could blue screen at any time. The… Read More »

PowerCLI: Datastore Block Sizes

Before VMFS5 the block size of the datastore determined the maximum size of a hard disk that could be added to a virtual machine. In our new glorious future it now makes no difference, but VMFS datastores that have been upgraded to version 5 will retain their old block size. The following PowerCLI will show… Read More »

Installing ESXi 6 onto USB via Workstation 9

This is going to one of those blog posts that is mostly pictures 😉 When installing ESXi 6 I decided to install onto (and therefore boot from) USB instead of installing and booting from local disk. This would allow my SSDs to be used for playing with Flash Cache. I had Workstation 9 available to… Read More »