Update windows10.ps1

This commit is contained in:
simeononsecurity
2021-08-21 19:23:39 +00:00
committed by GitHub
parent 7295d38db6
commit fb5ac6f4d7

View File

@ -7,11 +7,11 @@ Start-Job -Name "Install and Configure Chocolatey" -ScriptBlock {
choco feature enable -n=allowGlobalConfirmation
choco feature enable -n=useFipsCompliantChecksums
choco feature enable -n=useEnhancedExitCodes
choco feature disable -n=checksumFiles #Fipsmode implementation is currently broken for some packages
choco config set commandExecutionTimeoutSeconds 14400
choco config set --name="'cacheLocation'" --value="'C:\temp\chococache'"
choco config set --name="'proxyBypassOnLocal'" --value="'true'"
choco config set --name="'IgnoreChecksums'" --value="'true'"
choco upgrade all
choco upgrade all --ignore-checksums
refreshenv
Start-Job -Name "Installing Windows Updates" -ScriptBlock {
Write-Host "Install Latest Windows Updates"