Get-WsusProduct

Betrifft: Windows 10, Windows Server Technical Preview

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>]

Detaillierte Beschreibung

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.

Parameter

-InformationAction<System.Management.Automation.ActionPreference>

Specifies how this cmdlet responds to an information event. Die zulässigen Werte für diesen Parameter sind:

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

Aliase

infa

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-InformationVariable<System.String>

Specifies an information variable.

Aliase

iv

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-TitleIncludes<String>

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

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

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.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

true (ByValue)

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.

  • None

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • None

Beispiele

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"}

Verwandte Themen

Set-WsusProduct

Where-Object