Remove-Wsus
Dynamic
Category
Syntax
Remove-WsusDynamicCategory
[-UpdateServer <IUpdateServer>]
-InputObject <IDynamicCategory>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-WsusDynamicCategory
[-UpdateServer <IUpdateServer>]
-Name <String>
-DynamicCategoryType <DynamicCategoryType>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Remove-WsusDynamicCategory cmdlet removes a dynamic category from a Windows Server Update Services (WSUS) server.
Examples
Example 1: Remove a dynamic category
PS C:\> Remove-WsusDynamicCategory -DynamicCategoryType Device -Name "PCI/Device07"
This command removes a dynamic category named PCI/Device07 of the Device type from the local update server.
Required Parameters
Specifies the type of the dynamic category to remove. The acceptable values for this parameter are:
- ComputerModel
- Device
- Application
Type: | DynamicCategoryType |
Aliases: | Type |
Parameter Sets: | ComputerModel, Device, Application, Any |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a dynamic category object. This cmdlet removes the dynamic category that this parameter specifies. To obtain a dynamic category, use the Get-WsusDynamicCategory cmdlet.
Type: | IDynamicCategory |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the dynamic category to remove.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Optional Parameters
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a WSUS server. This cmdlet removes a dynamic category from 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 removes dynamic categories from the local server.
Type: | IUpdateServer |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
IDynamicCategory
Outputs
None