The virtual machine doesnt need 'Virtual Machines' in its path, this is created when importing.

This commit is contained in:
Bjorn Brala 2016-10-19 21:03:48 +02:00
parent c075c026be
commit e6093dd709
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ $VmProperties = @{
Path = $vm_config_file
SnapshotFilePath = Join-Path $data_path 'Snapshots'
VhdDestinationPath = Join-Path $data_path 'Virtual Hard Disks'
VirtualMachinePath = Join-Path $data_path 'Virtual Machines'
VirtualMachinePath = $data_path
}
$vmConfig = (Compare-VM -Copy -GenerateNewID @VmProperties)