This is the built-in help made by Microsoft for the command 'Approve-WsusUpdate', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 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.
Approves an update to be applied to clients.
Approve-WsusUpdate -Action <UpdateApprovalAction> -TargetGroupName <String> -Update <WsusUpdate> [-Confirm] [-WhatIf] [<CommonParameters>]
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.
Online Version: http://go.microsoft.com/fwlink/?LinkId=789385
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.