From 7295d38db690049d9d69ac3008b8d24104a656af Mon Sep 17 00:00:00 2001 From: simeononsecurity <4913771+simeononsecurity@users.noreply.github.com> Date: Sat, 21 Aug 2021 19:14:52 +0000 Subject: [PATCH] Update windows10.ps1 --- windows10.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/windows10.ps1 b/windows10.ps1 index c28acb1..653f93c 100644 --- a/windows10.ps1 +++ b/windows10.ps1 @@ -10,6 +10,7 @@ Start-Job -Name "Install and Configure Chocolatey" -ScriptBlock { 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 refreshenv Start-Job -Name "Installing Windows Updates" -ScriptBlock { @@ -49,9 +50,9 @@ Start-Job -Name "Installing Optional Windows Features" -ScriptBlock { #https://www.powershellgallery.com/packages/SpeculationControl/1.0.14 #https://www.powershellgallery.com/packages/xCertificate/3.2.0.0 ForEach ($module in ("AnonUpload", "Carbon", "PoshInternals", "PowerShellGet", "PowerShellProTools", "PSWindowsUpdate", "ReportHTML", "xCertificate")) { - Update-Module -Name "$module -Force - Install-Module -Name "$module -Force - Import-Module -Name "$module -Force + Update-Module -Name "$module" -Force + Install-Module -Name "$module" -Force + Import-Module -Name "$module" -Force } refreshenv