Last updated: 11.11.2022
Powershell script to delete a VM and its hard drives
ps> deleteVM.ps1 <vmName>
Powershell script to enable hibernation on a VM.
ps> enable-hibernate.ps1 <vmName> <enable>
Batch script to enable or disable Hyper-V on a host system.
$ enableHyperV [/enable] [/disable] [/v] [/h]
Targets:
- /enable Enable Hyper-V (default).
- /disable Disable Hyper-V.
Options:
- /v Verbose mode
- /h Print this