Get-CMStatusFilterRule
Get-CMStatusFilterRule
Gets Configuration Manager filter rules for status messages.
構文
Parameter Set: SearchBySiteCodeMandatory
Get-CMStatusFilterRule -SiteCode <String> [-Name <String> ] [ <CommonParameters>]
詳細説明
The Get-CMStatusFilterRule cmdlet gets filter rules for Microsoft System Center 2012 Configuration Manager status messages. You can get all the rules for a System Center 2012 Configuration Manager site or you can specify a name of a rule within a site.
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.
パラメーター
-Name<String>
Specifies a name of a rule.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SiteCode<String>
Specifies a site code for the Configuration Manager site.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Get rules for a specified site
This cmdlet gets status filter rules for the site that has the site code CM1.
PS C:\> Get-CMStatusFilterRule -SiteCode "CM1"