Get-CMEmailNotificationComponent

Gets an email notification components.

Syntax

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

Description

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

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

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

PS XYZ:\> 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 XYZ:\> 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.

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

Inputs

None

Outputs

IResultObject[]

IResultObject