Get-CMEmailNotificationComponent
Get-CMEmailNotificationComponent
Gets an email notification components.
構文
Parameter Set: SearchByNameMandatory
Get-CMEmailNotificationComponent -SiteSystemServerName <String[]> [ <CommonParameters>]
Parameter Set: SearchBySiteCodeMandatory
Get-CMEmailNotificationComponent -SiteCode <String> [-SiteSystemServerName <String[]> ] [ <CommonParameters>]
詳細説明
The Get-CMEmailNotificationComponent cmdlet gets one or more email notification components Microsoft System Center 2012 Configuration Manager.
パラメーター
-SiteCode<String>
Specifies the three-letter site code of the Configuration Manager site that hosts the site system role.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SiteSystemServerName<String[]>
Specifies an array of fully qualified domain names (FQDN) of the servers that host the site system role.
エイリアス |
Name |
必須? |
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 an email notification component by using a site code
This command gets a notification component for the site that has the site code CM2.
PS C:\> Get-CMEmailNotificationComponent -SiteCode "CM2"
Example 2: Get an email notification component by using a site system server name
This command gets a notification component for the site that has the server that has the specified name.
PS C:\> Get-CMEmailNotificationComponent -SiteSystemServerName "CMCEN-DIST02.TSQA.CORP.CONTOSCO.COM"