New-SmtpEventConsumer
SYNOPSIS
SYNTAX
ByComputerName
New-SmtpEventConsumer [-ComputerName <String[]>] [-Credential <PSCredential>] -Name <String>
[-ThrottleLimit <Int32>] [-BccLine <String>] [-CcLine <String>] [-FromLine <String>]
[-HeaderFields <String[]>] -Message <String> [-ReplyToLine <String>] -SMTPServer <String> [-Subject <String>]
-ToLine <String> [<CommonParameters>]
BySession
New-SmtpEventConsumer -CimSession <CimSession[]> -Name <String> [-ThrottleLimit <Int32>] [-BccLine <String>]
[-CcLine <String>] [-FromLine <String>] [-HeaderFields <String[]>] -Message <String> [-ReplyToLine <String>]
-SMTPServer <String> [-Subject <String>] -ToLine <String> [<CommonParameters>]
DESCRIPTION
EXAMPLES
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS
-BccLine
{{ Fill BccLine Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CcLine
{{ Fill CcLine Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CimSession
{{ Fill CimSession Description }}
Type: Microsoft.Management.Infrastructure.CimSession[]
Parameter Sets: BySession
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ComputerName
{{ Fill ComputerName Description }}
Type: System.String[]
Parameter Sets: ByComputerName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Credential
{{ Fill Credential Description }}
Type: System.Management.Automation.PSCredential
Parameter Sets: ByComputerName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-FromLine
{{ Fill FromLine Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-HeaderFields
{{ Fill HeaderFields Description }}
Type: System.String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Message
{{ Fill Message Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
{{ Fill Name Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ReplyToLine
{{ Fill ReplyToLine Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SMTPServer
{{ Fill SMTPServer Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Subject
{{ Fill Subject Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ThrottleLimit
{{ Fill ThrottleLimit Description }}
Type: System.Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ToLine
{{ Fill ToLine Description }}
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.