CmdID

CmdID / PowerShell / Cmdlets / New

New-MailContact

Use the New-MailContact cmdlet to create mail contacts. Exchange PowerShell reference

From the Exchange PowerShell reference 20 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

20 in the Exchange PowerShell reference
Show its 20 parameters
-NameThe Name parameter specifies the unique name of the mail contact.
-ExternalEmailAddressThe ExternalEmailAddress parameter specifies the target email address of the mail contact or mail user.
-AliasThe Alias parameter specifies the Exchange alias (also known as the mail nickname) for the recipient.
-ArbitrationMailboxThe ArbitrationMailbox parameter specifies the arbitration mailbox that's used to manage the moderation process for this recipient.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-DisplayNameThe DisplayName parameter specifies the display name of the mail contact.
-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.
-FirstNameThe FirstName parameter specifies the user's first name.
-InitialsThe Initials parameter specifies the user's middle initials.
-LastNameThe LastName parameter specifies the user's last name.
-MacAttachmentFormatThe MacAttachmentFormat parameter specifies the Apple Macintosh operating system attachment format to use for messages sent to the mail contact or mail user.
-MessageBodyFormatThe MessageBodyFormat parameter specifies the message body format for messages sent to the mail contact or mail user.
-MessageFormatThe MessageBodyFormat parameter specifies the message body format for messages sent to the mail contact or mail user.
-ModeratedByThe ModeratedBy parameter specifies one or more moderators for this mail contact.
-ModerationEnabledThe ModerationEnabled parameter specifies whether moderation is enabled for this recipient.
-OrganizationalUnitThe OrganizationalUnit parameter specifies the location in Active Directory where the new contact is created.
-PrimarySmtpAddressThe PrimarySmtpAddress parameter specifies the primary return email address that's used for the recipient.
-SendModerationNotificationsThe SendModerationNotifications parameter specifies when moderation notification messages are sent.
-UsePreferMessageFormatThe UsePreferMessageFormat specifies whether the message format settings configured for the mail user or mail contact override the global settings configured for the remote domain or configured by th…
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.