rc.10
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user