We had a quick requirement to power down the entire VMware ESXi environment and we powering down one by one was time consuming work so created this piece of code to bring all them down at once.

All we had to do is placing a text file named “VM_list.txt” in a folder, updating the FQDNs of all the host and executing the PowerShell script in the folder.

Just for sharing purpose I’m just adding this to the blog…

Leave a Reply

Your email address will not be published. Required fields are marked *