Hyper-V Powershell
Commands
ps
Get-VM
* Displays list of VM
Start-VM
- Starts a VM
Stop-VM
- Shuts down a VM
- Check the Docs below for options of different ways to shutdown a VM
Docs
- Hyper-V Module | Microsoft Learn
- Working with Hyper-V and Windows PowerShell | Microsoft Learn
- Stop-VM (Hyper-V) | Microsoft Learn
- Start-VM (Hyper-V) | Microsoft Learn
- Get-VM (Hyper-V) | Microsoft Learn
- Restart-VM (Hyper-V) | Microsoft Learn
- Measure-VM (Hyper-V) | Microsoft Learn
- New-VM (Hyper-V) | Microsoft Learn
TODO
- Add Restart-VM
- Add Measure-VM
- Add New-VM