Configuring WSUS Automatic Approvals
Microsoft’s Windows Update can produce many updates for you to manage (inspect
, accept
/decline
, and deploy
). Some update types, for example, critical updates, may be ones you want to automatically approve, so as soon as you receive one of these, you can start deploying it.
Configuring automatic approvals can be a good thing in that you ask WSUS
to push more urgent updates automatically. At the same time, automatically pushing an update can be problematic if, for some reason, the update has issues.
Getting ready
You run this recipe on SRV1
after installing and configuring WSUS
on WSUS1
.
How to do it...
- Creating a remoting session to
WSUS1
$SessionHT = @{ ConfigurationName = 'microsoft.powershell' ComputerName = 'WSUS1' Name = 'WSUS' } $Session = New-PSSession @SessionHT
- Creating the auto-approval rule
Invoke...