From 1c72619f88f392d03cade133cbd80ae83efab23a Mon Sep 17 00:00:00 2001 From: James Stringer <38541878+jamesstringerparsec@users.noreply.github.com> Date: Wed, 23 Jun 2021 00:51:04 +0200 Subject: [PATCH] Update CopyFilesToVM.ps1 --- CopyFilesToVM.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CopyFilesToVM.ps1 b/CopyFilesToVM.ps1 index 99ef23f..65b8611 100644 --- a/CopyFilesToVM.ps1 +++ b/CopyFilesToVM.ps1 @@ -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 } } - } \ No newline at end of file + }