Maybe you want to shutdown all the Virtual Machines on the HyperV server with just a click.

Well here are some tools that will you do your life easier.

Create a new folder under the C:\ drive called HyperV and create these 3 files (you can use notepad, just copy and paste)

BAT File (shutdown_vm.bat)

PowerShell script (shutdown_vm.ps1)

Virtual Machine List (vms.txt)

In this file, you have to put the name of the Virtual Machines you want to shutdown (one per line).