Export (0) Print
Expand All

Windows Server Update Services (WSUS) Cmdlets

Applies To: Windows 10 Technical Preview, Windows Server Technical Preview

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Windows Server Update Services Administration

This reference provides cmdlet descriptions and syntax for all Windows Server Update Services (WSUS) Administration-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

 

cmdlet Description

Add-WsusComputer

Adds a client computer to a target group.

Add-WsusDynamicCategory

Adds a dynamic category to a WSUS server.

Approve-WsusUpdate

Approves an update to be applied to clients.

Deny-WsusUpdate

Declines the update for deployment.

Get-WsusClassification

Gets the list of all WSUS classifications currently available in the system.

Get-WsusComputer

Gets the WSUS computer object that represents the client computer.

Get-WsusDynamicCategory

Gets dynamic categories on a WSUS server.

Get-WsusProduct

Gets the list of all products currently available on WSUS.

Get-WsusServer

Gets the WSUS update server object.

Get-WsusUpdate

Gets the WSUS update object with details about the update.

Invoke-WsusServerCleanup

Performs the process of cleanup on a WSUS server.

Remove-WsusDynamicCategory

Removes a dynamic category from a WSUS server.

Set-WsusClassification

Sets whether the classifications of updates that WSUS synchronizes are enabled.

Set-WsusDynamicCategory

Sets the synchronization status of a dynamic category.

Set-WsusProduct

Sets whether the product representing the category of updates to synchronize is enabled.

Set-WsusServerSynchronization

Sets whether the WSUS server synchronizes from Microsoft Update or an upstream server.

noteNote
To list all the cmdlets that are available, use the Get-Command *-Wsus* cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

More Information

For more information about WSUS, see the following:

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft