PowerShell/scripts/move-vm.ps1

3 lines
129 B
PowerShell
Raw Normal View History

2023-12-05 09:05:50 +01:00
$VMName = "windows"
Move-VM $VMName HOST2 -IncludeStorage -DestinationStoragePath "D:\VirtualMachines\$VMName"
exit 0 # success