Get-CMEmailNotificationComponent

Gets an email notification components.

Syntax

Get-CMEmailNotificationComponent
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-SiteCode <String>]
   [-SiteSystemServerName <String>]
   [<CommonParameters>]

Description

The Get-CMEmailNotificationComponent cmdlet gets one or more email notification components Microsoft System Center Configuration Manager.

Examples

Example 1: Get an email notification component by using a site code

PS C:\> Get-CMEmailNotificationComponent -SiteCode "CM2"

This command gets a notification component for the site that has the site code CM2.

Example 2: Get an email notification component by using a site system server name

PS C:\> Get-CMEmailNotificationComponent -SiteSystemServerName "CMCEN-DIST02.TSQA.CORP.CONTOSCO.COM"

This command gets a notification component for the site that has the server that has the specified name.

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
-SiteCode

Specifies the three-letter site code of the Configuration Manager site that hosts the site system role.

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

Specifies an array of fully qualified domain names (FQDN) of the servers that host the site system role.

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