A piece of code to Power Down the list of ESXi hosts

12:15:00 AM 0 Comments

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...

Aruna Lakmal

Aruna Lakmal is a Senior Virtualization Engineer at Pearson and a simple person, VMWare Technology Junky, Enthusiast and a VMware vExpert. Simply believe in "Karma" Find me on LinkedIn !