Export (0) Print
Expand All

Get-WsusProduct

Get-WsusProduct

Gets the list of all products currently available on WSUS.

Syntax

Parameter Set: Default
Get-WsusProduct [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [-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 passed into the Set-WsusProduct cmdlet.

Parameters

-InformationAction<System.Management.Automation.ActionPreference>

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are: 

-- Continue
-- Ignore
-- Inquire
-- SilentlyContinue
-- Stop
-- Suspend


Aliases

infa

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InformationVariable<System.String>

Specifies an information variable.


Aliases

iv

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-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 passing the resulting IUpdateServer object into this cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

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: Get all products for a WSUS server

This command gets all products defined by the WSUS server.


PS C:\> Get-WsusProduct

Example 2: Get products by title

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


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

Example 3: Get products by partial title

This command 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
Show:
© 2015 Microsoft