diff --git a/TCSE-Computer-Deploy.bat b/TCSE-Computer-Deploy.bat index 844128c..5fdfc03 100644 --- a/TCSE-Computer-Deploy.bat +++ b/TCSE-Computer-Deploy.bat @@ -98,7 +98,7 @@ powershell Remove-Item -Path 'C:\Scripts\Software\gcpwstandaloneenterprise64.exe :: Set Scripts Folder to Hidden echo Hiding Scripts Folder... -powershell (Get-Item "C:\Scripts").Attributes = "Hidden" +powershell Set-ItemProperty -Path "C:\Scripts" -Name Attributes -Value "Hidden" :: Perform Windows Updates powershell -ExecutionPolicy Bypass -File "C:\Scripts\Patches\Windows\Initial-Windows-Updates.ps1"