mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-26 09:53:57 +01:00
3 lines
129 B
PowerShell
3 lines
129 B
PowerShell
|
$VMName = "windows"
|
||
|
Move-VM $VMName HOST2 -IncludeStorage -DestinationStoragePath "D:\VirtualMachines\$VMName"
|
||
|
exit 0 # success
|