Configuring WSUS auto-approvals

Another great feature of Windows Server Update Services is the ability to automatically approve updates. This allows the administrator to define specific application updates or types of update to be automatically downloaded and installed on client computers.

Getting ready

It is not uncommon in some environments to create a rule that automatically approves all critical security updates and enforces the automatic installation. In this recipe, we will create a rule to automatically install all Critical Updates and all Definition Updates to our newly created Domain Controllers group.

How to do it...

WSUS auto-approvals can be configured by using the following steps:

  1. Create the auto-approval rule:
    $myWsus = Get-WsusServer ...

Get Windows Server 2012 Automation with PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.