< Back

Remove-WsusDynamicCategory

Thu Apr 04, 2019 5:42 am

NAME Remove-WsusDynamicCategory



SYNOPSIS

Removes a dynamic category from a WSUS server.





SYNTAX

Remove-WsusDynamicCategory [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable <String>]

[-UpdateServer <IUpdateServer>] -DynamicCategoryType {ComputerModel | Device | Application | Any} -Name <String> [<CommonParameters>]



Remove-WsusDynamicCategory [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable <String>]

[-UpdateServer <IUpdateServer>] -InputObject <IDynamicCategory> [<CommonParameters>]





DESCRIPTION

The Remove-WsusDynamicCategory cmdlet removes a dynamic category from a Windows Server Update Services (WSUS) server.





PARAMETERS

-DynamicCategoryType <DynamicCategoryType>

Specifies the type of the dynamic category to remove. 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



-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



-InputObject <IDynamicCategory>

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.



Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Specifies the name of the dynamic category to remove.



Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-UpdateServer [<IUpdateServer>]

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.



Required? false

Position? named

Default value none

Accept pipeline input? false

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

IDynamicCategory









OUTPUTS

None









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.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=789379

Add-WsusDynamicCategory

Get-WsusDynamicCategory

Set-WsusDynamicCategory