Export (0) Print
Expand All

Get-WsusProduct

Get-WsusProduct

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

Syntax

Parameter Set: Default
Get-WsusProduct [-TitleIncludes <String> ] [-UpdateServer <IUpdateServer> ] [ <CommonParameters>]




Detailed 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-Object cmdlet with the results piped into the Set-WsusProduct cmdlet.

Parameters

-TitleIncludes<String>

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-UpdateServer<IUpdateServer>

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.


Aliases

Server

Required?

false

Position?

named

Default Value

localhost

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Examples

EXAMPLE 1

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


PS C:\> Get-WsusProduct

EXAMPLE 2

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


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

EXAMPLE 3

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


PS C:\> Get-WsusProduct | Where-Object –FilterScript {$_.product.title -match "Office"}

Related topics

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

Community Additions

ADD
Show:
© 2015 Microsoft