PowerShell/scripts/move-vm.ps1
2024-10-01 15:11:03 +02:00

3 lines
132 B
PowerShell
Executable File

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