diff --git a/configwinpc.ps1 b/configwinpc.ps1 index cd85cb3..d904a7b 100644 --- a/configwinpc.ps1 +++ b/configwinpc.ps1 @@ -674,27 +674,6 @@ taskkill /f /im explorer.exe | Out-Null start explorer.exe | Out-Null -########################################################################################## -# # -# Available Updates # -# # -########################################################################################## - -# Checking for Available Updates -Install-PackageProvider -Name NuGet -Force -Install-Module -Name PSWindowsUpdate -Force -Confirm:$False -Write-Host "" - -Write-Host -ForegroundColor Yellow ">>> Checking for Available Updates... <<<" -Get-WindowsUpdate -Write-Host "" - -# Installing Windows Updates -Write-Host -ForegroundColor Yellow ">>> Installing Windows and Driver Updates... <<<" -Install-WindowsUpdate -AcceptAll -Install -IgnoreReboot -Install-WindowsUpdate -Install -AcceptAll -UpdateType Driver -MicrosoftUpdate -ForceDownload -ForceInstall -IgnoreReboot -Install-WindowsUpdate -Install -AcceptAll -UpdateType Software -MicrosoftUpdate -ForceDownload -ForceInstall -IgnoreReboot - Write-Host "" ##########################################################################################