This commit is contained in:
2026-06-13 04:12:12 -06:00
parent f75fabdbba
commit 77e69f0621
+1 -1
View File
@@ -114,7 +114,7 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
ipconfig.exe /release > $null 2>> "$MainLog"
ipconfig.exe /renew > $null 2>> "$MainLog"
Write-Output"$((Get-Date).ToString('yyyy-MM-dd-HHmm'))`tGetting Control of Windows Update 12/21" | Tee-Object -FilePath "$MainLog" -Append
Write-Output "$((Get-Date).ToString('yyyy-MM-dd-HHmm'))`tGetting Control of Windows Update 12/21" | Tee-Object -FilePath "$MainLog" -Append
Install-Module -Name PSWindowsUpdate -Force > $null 2>> "$MainLog"
Import-Module PSWindowsUpdate