Windows 2012 Hyper-V Commands

Dec 13, 2012 at 9:17 PM

It may be worth noting.
Windows 2012 / Powershell 3.0 greatly enhanced its ability to work with Hyper-V, making what this script does much simpler to do.

This script does its magic via WMI calls. While still needed for older O/S's. On newer it may be useful to consider the newer Hyper-V Cmdlets. Not a complete list. :-

Checkpoint-VM
Compare-VM
Export-VM
Get-VM
Import-VM
Measure-VM
Move-VM
New-VM
Remove-VM
Rename-VM
Repair-VM
Restart-VM
Resume-VM
Save-VM
Set-VM
Start-VM
Stop-VM
Suspend-VM

Convert-VHD
Dismount-VHD
Get-VHD
Merge-VHD
Mount-VHD
New-VHD
Optimize-VHD
Resize-VHD
Set-VHD
Test-VHD