Get-CMStatusFilterRule

Gets Configuration Manager filter rules for status messages.

Syntax

Get-CMStatusFilterRule
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-Name <String>]
   [-SiteCode <String>]
   [<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

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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

Specifies a name of a rule.

Type:String
Required:False
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
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False