Get-WsusDynamicCategory
Betrifft: Windows 10, Windows Server Technical Preview
Get-WsusDynamicCategory
Gets dynamic categories on a WSUS server.
Syntax
Parameter Set: ByName
Get-WsusDynamicCategory -DynamicCategoryType <DynamicCategoryType> {ComputerModel | Device | Application | Any} -Name <String> [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-UpdateServer <IUpdateServer> ] [ <CommonParameters>]
Parameter Set: Filter
Get-WsusDynamicCategory [-DynamicCategoryTypeFilter <DynamicCategoryType> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-UpdateServer <IUpdateServer> ] [ <CommonParameters>]
Detaillierte Beschreibung
The Get-WsusDynamicCategory cmdlet gets dynamic categories on a Windows Server Update Services (WSUS) server.
Parameter
-DynamicCategoryType<DynamicCategoryType>
Specifies the type of the dynamic category. Die zulässigen Werte für diesen Parameter sind:
-- ComputerModel
-- Device
-- Application
Aliase |
Type |
Erforderlich? |
true |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-DynamicCategoryTypeFilter<DynamicCategoryType>
Specifies the type of the dynamic categories that this cmdlet gets. The possible values are the same as those of the DynamicCategoryType parameter.
Aliase |
TypeFilter |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-InformationAction<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<String>
Specifies an information variable.
Aliase |
iv |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-Name<String>
Specifies the name of the dynamic category to get.
Aliase |
none |
Erforderlich? |
true |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-UpdateServer<IUpdateServer>
Specifies a WSUS server. This cmdlet gets dynamic categories on the server that this parameter specifies. To obtain a server, use the Get-WsusServer cmdlet. If you do not specify a value for this parameter, the cmdlet gets dynamic category from the local server.
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.
- IUpdateServer
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
- IDynamicCategory
Beispiele
Example 1: Get all dynamic categories for specified servers
This command gets all dynamic categories from the current update server by using the Get-WsusServer cmdlet. The command passes the server to the current cmdlet by using the pipeline operator. The current cmdlet gets the available dynamic categories for the update server.
PS C:\> Get-WsusServer | Get-WsusDynamicCategory
Example 2: Get a named dynamic category
This command gets the dynamic category named PCI/Device07 that is a Device type.
PS C:\> Get-WsusDynamicCategory -DynamicCategoryType Device -Name "PCI/Device07"
Example 3: Get dynamic categories by type
This command gets dynamic categories of the type ComputerModel that are currently available on the local server.
PS C:\> Get-WsusDynamicCategory -DynamicCategoryTypeFilter ComputerModel