Export (0) Print
Expand All
Expand Minimize

Disable-CMStatusFilterRule

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Disable-CMStatusFilterRule

Disables a Configuration Manager filter rule for status messages.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Disable-CMStatusFilterRule -Name <String> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValue
Disable-CMStatusFilterRule -InputObject <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Disable-CMStatusFilterRule cmdlet disables a specified Microsoft System Center 2012 Configuration Manager filter rule for status messages.

Status filter rules specify how System Center 2012 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.

Use the rule name and site code to specify a rule to disable. You can use the Enable-CMStatusFilterRule cmdlet to enable a rule. To remove a rule permanently, use the Remove-CMStatusFilterRule cmdlet.

Parameters

-InputObject<IResultObject>

Specifies a status filter rule object to disable. To obtain a status filter rule object, use the Get-CMStatusFilterRule cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies a name of a rule.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies a site code for the Configuration Manager site.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Disable a status filter rule

This command disables a status filter rule that has the specified name in a site that has the site code CM1.


PS C:\> Disable-CMStatusFilterRule -Name "Status change to critical" -SiteCode "CM1"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft