2
0

Fix Set Hidden Folder

This commit is contained in:
bschaper 2025-01-16 13:06:02 -06:00
parent 2071fc7af0
commit 4acbb76829

View File

@ -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"