CmdID / PowerShell / Cmdlets / New
New-MailUser
Use the New-MailUser cmdlet to create mail users. Exchange PowerShell reference
From the Exchange PowerShell reference 30 parameters Its page in the reference
Parameters
Show its 30 parameters
-NameThe Name parameter specifies the unique name of the mail user.-ExternalEmailAddressThe ExternalEmailAddress parameter specifies the target email address of the mail contact or mail user.-FederatedIdentityThe FederatedIdentity parameter associates an on-premises Active Directory user with a user in the cloud.-MicrosoftOnlineServicesIDThe MicrosoftOnlineServicesID parameter specifies the user ID for the object.-PasswordThe Password parameter specifies the password for the user's account.-UserPrincipalNameThe UserPrincipalName parameter specifies the name of a system user in an email address format (for example, ed@contoso.com).-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 user.-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.-ImmutableIdThe ImmutableId parameter is used by GAL synchronization (GALSync) and specifies a unique and immutable identifier in the form of an SMTP address for an Exchange mailbox used for federated delegation…-InitialsThe Initials parameter specifies the user's middle initials.-LastNameThe LastName parameter specifies the user's last name.-HVEAccountThe HVEAccount switch specifies that this mail user account is specifically used for the High volume email service.-MacAttachmentFormatThe MacAttachmentFormat parameter specifies the Apple Macintosh operating system attachment format to use for messages sent to the mail contact or mail user.-MailboxRegionThis parameter is reserved for internal Microsoft use.-MessageBodyFormatThe MessageBodyFormat parameter specifies the message body format for messages sent to the mail contact or mail user.-MessageFormatThe MessageFormat parameter specifies the message format for messages sent to the mail contact or mail user.-ModeratedByThe ModeratedBy parameter specifies one or more moderators for this recipient.-ModerationEnabledThe ModerationEnabled parameter specifies whether moderation is enabled for this recipient.-OrganizationalUnitThe OrganizationalUnit parameter specifies the location in Active Directory where the new mail user is created.-PrimarySmtpAddressThe PrimarySmtpAddress parameter specifies the primary return email address that's used for the recipient.-RemotePowerShellEnabledThe RemotePowerShellEnabled parameter specifies whether the user has access to Exchange PowerShell.-ResetPasswordOnNextLogonThe ResetPasswordOnNextLogon parameter specifies whether the user must change their password the next time they log on.-SamAccountNameThe SamAccountName parameter (also known as the pre-Windows 2000 user account or group name) specifies an object identifier that's compatible with older versions of Microsoft Windows client and serve…-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.