< Back
Get-WsusDynamicCategory
Post
NAME Get-WsusDynamicCategory
SYNOPSIS
Gets dynamic categories on a WSUS server.
SYNTAX
Get-WsusDynamicCategory [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable <String>]
[-UpdateServer <IUpdateServer>] -DynamicCategoryType {ComputerModel | Device | Application | Any} -Name <String> [<CommonParameters>]
Get-WsusDynamicCategory [-DynamicCategoryTypeFilter <DynamicCategoryType>] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire |
Ignore | Suspend}] [-InformationVariable <String>] [-UpdateServer <IUpdateServer>] [<CommonParameters>]
DESCRIPTION
The Get-WsusDynamicCategory cmdlet gets dynamic categories on a Windows Server Update Services (WSUS) server.
PARAMETERS
-DynamicCategoryType <DynamicCategoryType>
Specifies the type of the dynamic category. The acceptable values for this parameter are:
-- ComputerModel
-- Device
-- Application
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? 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.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-InformationAction [<ActionPreference>]
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:
-- Continue
-- Ignore
-- Inquire
-- SilentlyContinue
-- Stop
-- Suspend
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-InformationVariable [<String>]
Specifies an information variable.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Specifies the name of the dynamic category to get.
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? 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.
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, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
IUpdateServer
OUTPUTS
IDynamicCategory
Example 1: Get all dynamic categories for specified servers
PS C:\\>Get-WsusServer | Get-WsusDynamicCategory
Name Type Status
---- ---- ------
5d6a452a-55ba-4e11-adac-85e180bda3d6 ComputerModel True
PCI/Device07 Device True
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.
Example 2: Get a named dynamic category
PS C:\\>Get-WsusDynamicCategory -DynamicCategoryType Device -Name "PCI/Device07"
Name Type Status
---- ---- ------
PCI/Device07 Device True
This command gets the dynamic category named PCI/Device07 that is a Device type.
Example 3: Get dynamic categories by type
PS C:\\>Get-WsusDynamicCategory -DynamicCategoryTypeFilter ComputerModel
Name Type Status
---- ---- ------
5d6a452a-55ba-4e11-adac-85e180bda3d6 ComputerModel True
This command gets dynamic categories of the type ComputerModel that are currently available on the local server.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=789378
Add-WsusDynamicCategory
Remove-WsusDynamicCategory
Set-WsusDynamicCategory
Get-WsusServer
SYNOPSIS
Gets dynamic categories on a WSUS server.
SYNTAX
Get-WsusDynamicCategory [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable <String>]
[-UpdateServer <IUpdateServer>] -DynamicCategoryType {ComputerModel | Device | Application | Any} -Name <String> [<CommonParameters>]
Get-WsusDynamicCategory [-DynamicCategoryTypeFilter <DynamicCategoryType>] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire |
Ignore | Suspend}] [-InformationVariable <String>] [-UpdateServer <IUpdateServer>] [<CommonParameters>]
DESCRIPTION
The Get-WsusDynamicCategory cmdlet gets dynamic categories on a Windows Server Update Services (WSUS) server.
PARAMETERS
-DynamicCategoryType <DynamicCategoryType>
Specifies the type of the dynamic category. The acceptable values for this parameter are:
-- ComputerModel
-- Device
-- Application
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? 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.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-InformationAction [<ActionPreference>]
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:
-- Continue
-- Ignore
-- Inquire
-- SilentlyContinue
-- Stop
-- Suspend
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-InformationVariable [<String>]
Specifies an information variable.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Specifies the name of the dynamic category to get.
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? 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.
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, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
IUpdateServer
OUTPUTS
IDynamicCategory
Example 1: Get all dynamic categories for specified servers
PS C:\\>Get-WsusServer | Get-WsusDynamicCategory
Name Type Status
---- ---- ------
5d6a452a-55ba-4e11-adac-85e180bda3d6 ComputerModel True
PCI/Device07 Device True
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.
Example 2: Get a named dynamic category
PS C:\\>Get-WsusDynamicCategory -DynamicCategoryType Device -Name "PCI/Device07"
Name Type Status
---- ---- ------
PCI/Device07 Device True
This command gets the dynamic category named PCI/Device07 that is a Device type.
Example 3: Get dynamic categories by type
PS C:\\>Get-WsusDynamicCategory -DynamicCategoryTypeFilter ComputerModel
Name Type Status
---- ---- ------
5d6a452a-55ba-4e11-adac-85e180bda3d6 ComputerModel True
This command gets dynamic categories of the type ComputerModel that are currently available on the local server.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=789378
Add-WsusDynamicCategory
Remove-WsusDynamicCategory
Set-WsusDynamicCategory
Get-WsusServer