PowerShell Logo Small

Get-WsusUpdate



This is the built-in help made by Microsoft for the command 'Get-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.

SYNOPSIS

Gets the Windows Server Update Services (WSUS) update object with details about the update.

SYNTAX


Get-WsusUpdate [-Approval <WsusApprovedState>] [-Classification <WsusUpdateClassifications>] [-Status <WsusUpdateInstallationState>] [-UpdateServer <IUpdateServer>]
[<CommonParameters>]
Get-WsusUpdate [-RevisionNumber <Int32>] [-UpdateServer <IUpdateServer>] -UpdateId <Guid> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-WsusUpdate cmdlet gets the Windows Server Update Services (WSUS) update object with details about the update. This cmdlet requires the update unique identifier
(GUID) or a set of filter criteria such as classification, approval and status as parameter.


The Get-WsusUpdate cmdlet can be called in two ways:

-- Passing in the Update ID (GUID) and RevisionNumber. This cmdlet will return a single update matching the specified Update ID and revision number.

-- Passing in filter parameters. These parameters include Classification, Approval, and Status. One or more updates matching the specified criteria will be returned.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=789391
Approve-WsusServer
Deny-WsusServer
Get-WsusServer

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Get-WsusUpdate -Classification All -Approval Unapproved -Status FailedOrNeeded



This example gets allunapproved updates with a status of failed or needed.






EXAMPLE 2

PS C:\> Get-WsusUpdate -Classification Critical -Approval Unapproved -Status Any
Title Classification Installed/Not Applicable Approved
Percentage
----- -------------- ----------------------------- --------
Windows XP Update Package, Critical Updates NotApproved
October 25, 2001



This example gets allcriticalunapproved updates.