Windows Server Update Services (WSUS) Cmdlets in Windows PowerShell
Applies To: Windows 8, Windows Server 2012
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 (WSUS) 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 |
---|---|
Adds a specified client computer to a specified target group. |
|
Approves an update to be applied to clients. |
|
Declines the update for deployment. |
|
Get the list of all Windows Server Update Services (WSUS) classifications currently available in the system. |
|
Gets the Windows Server Update Services (WSUS) computer object that represents the client computer. |
|
Get the list of all products currently available on Windows Server Update Services (WSUS) by category. |
|
Gets the value of the Windows Server Update Services (WSUS) update server object. |
|
Gets the Windows Server Update Services (WSUS) update object with details about the update. |
|
Performs the process of cleanup on a specified Windows Server Update Services (WSUS) server. |
|
Sets whether the classifications of updates that Windows Server Update Services (WSUS) synchronizes are enabled or disabled. |
|
Sets whether the product representing the category of updates to synchronize is enabled or disabled. |
|
Sets whether the Windows Server Update Services (WSUS) server synchronizes from Microsoft Update, or an upstream server and the upstream server properties. |
Note
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 the cmdlets, see the following:
-