diff options
author | Berkeley <[email protected]> | 2024-03-21 01:41:42 +0000 |
---|---|---|
committer | Berkeley <[email protected]> | 2024-03-21 01:41:42 +0000 |
commit | 1269cb45ee98a56d03596ba1ec6fb73efa4f1c72 (patch) | |
tree | 2cf516c7fe480597b22c13fd7256e4e97de607d1 | |
parent | 1433db7c822c027d294ec658cfa502a3c3f174d6 (diff) |
-rw-r--r-- | gorilazadah.ps1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gorilazadah.ps1 b/gorilazadah.ps1 new file mode 100644 index 0000000..dac6a0d --- /dev/null +++ b/gorilazadah.ps1 @@ -0,0 +1,8 @@ +Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) +choco feature enable -n=allowGlobalConfirmation +choco feature enable -n useFipsCompliantChecksums +choco upgrade all +choco install pswindowsupdate +Add-WUServiceManager -ServiceID 7971f918-a847-4430-9279-4a52d1efe18d -Confirm:$false +Install-WindowsUpdate -MicrosoftUpdate -AcceptAll +Get-WuInstall -AcceptAll -IgnoreReboot
\ No newline at end of file |