Update CopyFilesToVM.ps1

This commit is contained in:
James Stringer
2021-06-23 00:51:04 +02:00
committed by GitHub
parent 4b578807c8
commit 1c72619f88

View File

@ -40,9 +40,9 @@ foreach ($d in $drivers) {
if (!$(Get-Item -Path $Destination -ErrorAction SilentlyContinue).Exists ) {
New-Item -ItemType Directory -Path $Destination -Force | Out-Null
}
Copy-Item $path2 -Destination $DestinationNormal -Force
Copy-Item $path2 -Destination $Destination -Force
Write-Host "Copied $path2 to $Destination" -ForegroundColor Green
}
}
}
}