Category Archives: Powershell

Reporting on vSphere Replication transfer sizes

vSphere Replication is really a wonderful product – I’ve been using it for a few years now across a few employers and I’ve never had a really serious problem with it – it just seems to work. Sure, there are a few feature requests we could make of it, for example setting a schedule of… Read More »

Detaching Devices from a Cluster

When working with block storage we occasionally need to remove a storage device from the hosts it is connected to. When using the Web Client we can detach devices on a per-host basis, but there is nothing to detach from all its attached hosts. What we do have is a helpful KB article on how… Read More »

Finding a UCS Service Profile from the MAC Address

Quick snippet on how to find the name of a service profile given the MAC address. I found this useful as when troubleshooting ESXi locks, the MAC address of the locking host is shown and sadly not the name. Once I had the name I was able to continue debugging my problem 🙂

This… 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 »