Remove all Connected CD Drives and IsoPaths
The following script gets all the VMs that have connected CD ROM drives and in addition it also picks up VMs that may not have CDs in a connected or […]
The following script gets all the VMs that have connected CD ROM drives and in addition it also picks up VMs that may not have CDs in a connected or […]
Having set up a development lab environment for a project team they began having issues related to storage due to not seemingly understanding that if you put too many Virtual […]
Here is an interesting comparison between scripting languages. I was playing with getting the time 1 minute into the future in order to set up a scheduled command. So I […]
Whilst attempting to add help information to one of my functions this morning, using the new V2 features which allows you to add multi line information, in the same format […]
This script adds a vmxnet3 nic to a VM to be on the same virtual Port Proup (vPG) as the first NIC attached to the VM. This came about because […]
As part of an automated deployment of VMs I needed the ability to add a NIC that is attached to VMware vDS and attach it to a particular port group. […]
Today I received a bunch of new LUNs for some VMs in a development environment. The task is to move all the VMs off the old LUNs to the new […]
Create a temporary file in the TMP environment variable location in powershell: So as an example the above will create something like this: C:\Users\\AppData\Local\Temp\tmp3472.tmp This $TempFile variable can then be […]
Needed to shutdown some hosts due to power work happening in one of our buildings, so therefore needed make sure all the various teams affected? (effected? can never remember which […]
Had a question the other day from a colleague about how to get access to WMI from within Powershell and thought that I might post it up to help others, […]