This commit is contained in:
2026-06-13 03:36:51 -06:00
parent 39cf36d5c4
commit 458030236e
+1 -1
View File
@@ -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