added $CopyPPKG, $CopyUnattend, $CopyAutopilot, and $CompactOS variables and fixed some logging

This commit is contained in:
rbalsleyMSFT
2024-03-08 10:31:47 -08:00
parent 0b334ad95e
commit 980ba025a3
4 changed files with 34 additions and 15 deletions
@@ -117,7 +117,7 @@ $LogFileName = 'ScriptLog.txt'
$USBDrive = Get-USBDrive
New-item -Path $USBDrive -Name $LogFileName -ItemType "file" -Force | Out-Null
$LogFile = $USBDrive + $LogFilename
$version = '2401.1'
$version = '2402.1'
WriteLog 'Begin Logging'
WriteLog "Script version: $version"