diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index 0c75c9a..fdeaee1 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -115,7 +115,7 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S ipconfig.exe /renew > $null 2>> "$MainLog" echo "`tGetting Control of Windows Update 12/21 at $((Get-Date).ToString('yyyy-MM-dd-HHmm'))" | Tee-Object -FilePath "$MainLog" -Append - Install-Module -Name PSWindowsUpdate -Force 1> $null 2>> "$MainLog" + Install-Module -Name PSWindowsUpdate -Force > $null 2>> "$MainLog" Import-Module PSWindowsUpdate echo "`tUpdating Windows 13/21 at $((Get-Date).ToString('yyyy-MM-dd-HHmm'))" | Tee-Object -FilePath "$MainLog" -Append