Get-CMEmailNotificationComponent

Gets an email notification components.

Syntax

Get-CMEmailNotificationComponent
   [-SiteSystemServerName <String>]
   [-SiteCode <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<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

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

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