Update windows10.ps1

This commit is contained in:
simeononsecurity
2021-01-18 19:36:41 +00:00
committed by GitHub
parent a955e5ee41
commit b0fc289977

View File

@ -31,13 +31,14 @@ Start-Job -Name "Installing Optional Windows Features" -ScriptBlock {
Install-Module -Name SpeculationControl -Force Install-Module -Name SpeculationControl -Force
#https://www.powershellgallery.com/packages/PoshInternals/1.0.34 #https://www.powershellgallery.com/packages/PoshInternals/1.0.34
Install-Module -Name PoshInternals -Force -AllowClobber Install-Module -Name PoshInternals -Force -AllowClobber
#https://www.powershellgallery.com/packages/powershellprotools/5.7.2
Install-Module -Name PowerShellProTools -Force
#https://www.powershellgallery.com/packages/PSWindowsUpdate/2.2.0.2 #https://www.powershellgallery.com/packages/PSWindowsUpdate/2.2.0.2
Install-Module -Name PSWindowsUpdate -Force Install-Module -Name PSWindowsUpdate -Force
#https://www.powershellgallery.com/packages/xCertificate/3.2.0.0 #https://www.powershellgallery.com/packages/xCertificate/3.2.0.0
Install-Module -Name xCertificate -Force Install-Module -Name xCertificate -Force
} }
Start-Job -Name "Installing Windows Updates" -ScriptBlock { Start-Job -Name "Installing Windows Updates" -ScriptBlock {
Start-Sleep 60 Start-Sleep 60
Write-Host "Install Latest Windows Updates" Write-Host "Install Latest Windows Updates"