Windows Server Update Services Cmdlets in Windows PowerShell

Mis à jour: octobre 2013

S'applique à: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

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

Add-WsusComputer

Adds a specified client computer to a specified target group.

Approve-WsusUpdate

Approves an update to be applied to clients.

Deny-WsusUpdate

Declines the update for deployment.

Get-WsusClassification

Get the list of all Windows Server Update Services (WSUS) classifications currently available in the system.

Get-WsusComputer

Gets the Windows Server Update Services (WSUS) computer object that represents the client computer.

Get-WsusProduct

Get the list of all products currently available on Windows Server Update Services (WSUS) by category.

Get-WsusServer

Gets the value of the Windows Server Update Services (WSUS) update server object.

Get-WsusUpdate

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

Invoke-WsusServerCleanup

Performs the process of cleanup on a specified Windows Server Update Services (WSUS) server.

Set-WsusClassification

Sets whether the classifications of updates that Windows Server Update Services (WSUS) synchronizes are enabled or disabled.

Set-WsusProduct

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

Set-WsusServerSynchronization

Sets whether the Windows Server Update Services (WSUS) server synchronizes from Microsoft Update, or an upstream server and the upstream server properties.

Notes

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

Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help <nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :

Get-Help <nom de l’applet de commande> -Detailed
Get-Help <nom de l’applet de commande> -Examples
Get-Help <nom de l’applet de commande> -Full

More Information

For more information about WSUS, see the following: