Get-WsusDynamicCategory
適用対象: Windows 10, Windows Server Technical Preview
Get-WsusDynamicCategory
Gets dynamic categories on a WSUS server.
構文
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>]
詳細説明
The Get-WsusDynamicCategory cmdlet gets dynamic categories on a Windows Server Update Services (WSUS) server.
パラメーター
-DynamicCategoryType<DynamicCategoryType>
Specifies the type of the dynamic category. このパラメーターに指定できる値は、次のとおりです。
-- ComputerModel
-- Device
-- Application
Aliases |
Type |
必須/オプション |
true |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
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.
Aliases |
TypeFilter |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-InformationAction<ActionPreference>
Specifies how this cmdlet responds to an information event. このパラメーターに指定できる値は、次のとおりです。
-- Continue
-- Ignore
-- Inquire
-- SilentlyContinue
-- Stop
-- Suspend
Aliases |
infa |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-InformationVariable<String>
Specifies an information variable.
Aliases |
iv |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-Name<String>
Specifies the name of the dynamic category to get.
Aliases |
none |
必須/オプション |
true |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
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.
Aliases |
none |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
true(ByValue) |
ワイルドカード文字の受け入れ |
false |
<CommonParameters>
このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- IUpdateServer
出力
出力型は、コマンドレットが出力するオブジェクトの型です。
- IDynamicCategory
使用例
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