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