If you work in an environment where no one remembers to disconnect their ISO images when done then this script is for you. This script will report each VM with a connected CD drive and its ISO path, to a CSV fileAlso once a specified number of days have passed (assuming this script is run…
Tag: Powershell
My Powershell Ping function
This is a nicer looking (than) Ping function I wrote in Powershell a while ago. It’s a simple Ping function that only writes a new line when there is a state change. So the output is much neater then a ping -t command that rapidly scrolls off the screen. The function will take the following…
Getting and Setting the Scratch location
The scratch partition on an ESXi host stores log information and will be set to the RAM drive by default. This means that any information written there will not survive a reboot, or could interfere with the stability of the host in low memory situations. Getting and setting the scratch location is quite easy with…