Skip to content

Instantly share code, notes, and snippets.

@klishb
klishb / Approve-WUTargetGroupServers.ps1
Created April 19, 2017 14:47
Approves WSUS updates for servers
[CmdletBinding()]
Param (
[Parameter(Mandatory=$true,
Position=0)]
[string]$WsusServer = "myserver",
[int]$Port = "8530",
[Parameter(Mandatory=$true)]
[int]$DaysOld = "0",
[Parameter(Mandatory=$true)]
[string]$WSUSGroup = "Servers"