Get-WsusProduct

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

Syntax

Get-WsusProduct
   [-TitleIncludes <String>]
   [-UpdateServer <IUpdateServer>]

Description

The Get-WsusProduct cmdlet gets the list of all Windows Server Update Services (WSUS) products (categories). This list can be filtered using the Where-Objecthttp://go.microsoft.com/fwlink/?LinkID=113423 cmdlet with the results piped into the Set-WsusProduct cmdlet.

Examples

EXAMPLE 1

PS C:\> Get-WsusProduct
Title                                                       ID 
-----                                                       -- 
Antigen for Exchange/SMTP                                   5d6a452a-55ba-4e11-adac-85e180bda3d6 
Antigen                                                     116a3557-3847-4858-9f03-38e94b977456

This example gets all products defined by the WSUS Server and prints them to the screen.

EXAMPLE 2

PS C:\> Get-WsusProduct | Where-Object -FilterScript {$_.product.title -eq "Antigen"}
Title                                                       ID 
-----                                                       -- 
Antigen                                                     116a3557-3847-4858-9f03-38e94b977456

This example gets all products where the product title is equal to Antigen.

EXAMPLE 3

PS C:\> Get-WsusProduct | Where-Object -FilterScript {$_.product.title -match "Office"}
Title                                                       ID 
-----                                                       -- 
Office 2002/XP                                              6248b8b1-ffeb-dbd9-887a-2acf53b09dfe 
Office 2003                                                 1403f223-a63f-f572-82ba-c92391218055 
Office 2007                                                 041e4f9f-3a3d-4f58-8b2f-5e6fe95c4591 
Office 2010                                                 84f5f325-30d7-41c4-81d1-87a0e6535b66 
Office Communications Server 2007 R2                        22bf57a8-4fe1-425f-bdaa-32b4f655284b 
Office Communications Server 2007                           e164fc3d-96be-4811-8ad5-ebe692be33dd 
Office Communications Server And Office Communicator        504ae250-57c5-484a-8a10-a2c35ea0689b 
Office Communicator 2007 R2                                 8bc19572-a4b6-4910-b70d-716fecffc1eb 
Office                                                      477b856e-65c4-4473-b621-a8b230bb70d9 
Visual Studio 2010 Tools for Office Runtime                 cbfd1e71-9d9e-457e-a8c5-500c47cfe9f3

This example gets all products where the product title contains the word Office.

Parameters

-TitleIncludes

Specifies the partial title of the product for which to search.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UpdateServer

Specifies the object that contains the WSUS server. This value is obtained by calling the Get-WsusServer cmdlet and piping the resulting IUpdateServer object into this cmdlet.

Type:IUpdateServer
Aliases:Server
Position:Named
Default value:Localhost
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

None

Outputs

None