Had to do a bunch of SDRS migrations recently. This was in a 5.5 environment, so I’m not sure if this has been fixed in 6.0+, but when you kick off a heap of SDRS migrations in a row, vCenter doesn’t seem to factor in the impact of the already queued migrations. You can quickly find yourself with way too many VMs on a datastore or even worse, a 100% full store. I use this script to run migrations one after the other, without having to baby sit it. It also ensure you don’t overload either the source or destination stores. Read the rest of this entry »

This has been useful for a few clients to quickly show them a table of their vCPU to Logical CPU contention ratio across their clusters. The lCPU count does include hyper-threading, but you could easily adjust the script to only use physical core count if you wanted. Read the rest of this entry »

Nothing too exciting in this one, just had to do a quick comparison of user home folders against what was set in Active Directory as part of file server permission’s remediation task.Read the rest of this entry »

Pretty simple one here, PowerShell wrapper to automate logging into Brocade Fabric switches and grabbing a full config backup. You’ll need to get a copy of Putty’s plink.exe and you also need a FTP/SFTP/SCP server. This version is setup for a FTP target. Read the rest of this entry »

Had a client who required in-guest iSCSI connections. After reviewing the physical NICs that were going to be available on each host, I created the following script to automate the creation of the virtual switch with associated uplinks and two portgroups. Read the rest of this entry »

Just a simple one here, but want to keep it on file. This will rebuild the tokenGroups attribute for a user, which is a dynamic attribute, i.e. not part of the schema. Useful for working out why people are getting token bloat and kerberos issues. Read the rest of this entry »