How to start and stop virtual machines using PowerShell
To stop a virtual machine on a hyper-v-server use the
stop-vm. The PowerShell command is simply:
To start a virtual machine use start-vm:
If you are not sure on the name of the virtual machine then use
get-vm to see the names and state of each virtual machine.
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.