Get-CMStatusFilterRule

Gets Configuration Manager filter rules for status messages.

Syntax

Get-CMStatusFilterRule
   [-SiteCode <String>]
   [-Name <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

The Get-CMStatusFilterRule cmdlet gets filter rules for Microsoft System Center Configuration Manager status messages. You can get all the rules for a System Center Configuration Manager site or you can specify a name of a rule within a site.

Status filter rules specify how System Center Configuration Manager responds to status messages. Each filter rule contains criteria and actions for status messages. You configure status filter rules for each site, not across all sites.

Examples

Example 1: Get rules for a specified site

PS C:\> Get-CMStatusFilterRule -SiteCode "CM1"

This cmdlet gets status filter rules for the site that has the site code CM1.

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies a name of a rule.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SiteCode

Specifies a site code for the Configuration Manager site.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False