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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store