PowerShell Logo Small

Set-WsusProduct



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

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

SYNTAX


Set-WsusProduct [-Disable] -Product <WsusProduct> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-WsusProduct cmdlet enables or disables the product representing the category of updates to synchronized. In order to use this cmdlet, the Get-WsusProduct cmdlet must
be run (optionally using the Where-Object cmdlet to filter its results) with its results piped into this cmdlet.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=789394
Where-Object
Get-WsusProduct

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Get-WsusServer | Get-WsusProduct | Where-Object –FilterScript {$_.product.title -Eq "Antigen"} | Set-WsusProduct



This example specifies that you want updates for the Antigen product.