Stop-VM
CautionStop a Hyper-V VM
Stop-VM -Name <vm>
Gracefully shuts the guest down. -TurnOff is a power pull — last resort for hung VMs only.
Examples
Stop-VM -Name web01 -ForceShut down without prompting
Syntax
Stop-VM -Name <vm> [-Force] [-TurnOff]
Before you run it
-TurnOff risks guest data corruption.
Related commands
- Start-VM / Stop-VMStart/stop Hyper-V VM
- Get-VMList Hyper-V VMs
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store