PowerShell Logo Small

Approve-WsusUpdate



This is the built-in help made by Microsoft for the command 'Approve-WsusUpdate', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Approves an update to be applied to clients.

SYNTAX


Approve-WsusUpdate -Action <UpdateApprovalAction> -TargetGroupName <String> -Update <WsusUpdate> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Approve-WsusUpdate cmdlet is used to approve an update to be applied to clients. This operation requires Server Update Services (WSUS)
Administrator privileges.


To use this cmdlet, run the Get-WsusUpdate cmdlet and pipe the resulting WsusUpdate object into this cmdlet.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=789398
Get-WsusUpdate

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Get-WsusUpdate -Classification All -Approval Unapproved -Status FailedOrNeeded | Approve-WsusUpdate -Action Install -TargetGroupName
"All Computers"



This example approves for installation all unapproved updates with a status of failed or needed.