1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-01-17 11:28:34 +01:00
PowerShell/scripts/move-vm.ps1
2023-12-07 20:22:14 +01:00

3 lines
129 B
PowerShell
Executable File

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