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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ 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
}