Restart-VM
CautionRestart VM (Hyper-V)
Restart-VM -Name <name>
Restarts a Hyper-V VM; -Force is a hard reset.
Examples
Restart-VM -Name web01 -ForceForce restart
Syntax
Restart-VM -Name <name> [-Force] (Hyper-V)
Before you run it
-Force restarts without saving.
Related commands
- Start-VM / Stop-VMStart/stop Hyper-V VM
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