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 »

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 »