Skip to content

Move-Vm

Vm

param([string]$VMName = "windows")

Move-VM $VMName HOST2 -IncludeStorage -DestinationStoragePath "D:\VirtualMachines\$VMName"
exit 0 # success

An interactive directory of PowerShell scripts.