Hide Scripts Folder
This commit is contained in:
parent
cfba974a45
commit
b76e214d15
@ -91,6 +91,10 @@ powershell Remove-Item -Path 'C:\Scripts\Software\Office2016' -Recurse -Force
|
||||
powershell Remove-Item -Path 'C:\Scripts\Software\RemoteAgent64-TCSE.exe'
|
||||
powershell Remove-Item -Path 'C:\Scripts\Software\gcpwstandaloneenterprise64.exe'
|
||||
|
||||
:: Set Scripts Folder to Hidden
|
||||
echo Hiding Scripts Folder...
|
||||
powershell (Get-Item "C:\Path\To\Your\Folder").Attributes = "Hidden"
|
||||
|
||||
:: Perform Windows Updates
|
||||
powershell -ExecutionPolicy Bypass -File "C:\Scripts\Patches\Windows\Initial-Windows-Updates.ps1"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user