CmdID

CmdID / PowerShell / Cmdlets / Set

Set-MailUser

Use the Set-MailUser cmdlet to modify mail users. Exchange PowerShell reference

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

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

Parameters

97 in the Exchange PowerShell reference
Show its 97 parameters
-IdentityThe Identity parameter specifies the mail user that you want to modify.
-AcceptMessagesOnlyFromThe AcceptMessagesOnlyFrom parameter specifies who is allowed to send messages to this recipient.
-AcceptMessagesOnlyFromDLMembersThe AcceptMessagesOnlyFromDLMembers parameter specifies who is allowed to send messages to this recipient.
-AcceptMessagesOnlyFromSendersOrMembersThe AcceptMessagesOnlyFromSendersOrMembers parameter specifies who is allowed to send messages to this recipient.
-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.
-ArchiveGuidThis parameter is reserved for internal Microsoft use.
-ArchiveNameThis parameter is reserved for internal Microsoft use.
-BypassModerationFromSendersOrMembersThe BypassModerationFromSendersOrMembers parameter specifies who is allowed to send messages to this moderated recipient without approval from a moderator.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-CreateDTMFMapThe CreateDTMFMap parameter specifies whether to create a dual-tone multiple-frequency (DTMF) map for the recipient.
-CustomAttribute1This parameter specifies a value for the CustomAttribute1 property on the recipient.
-CustomAttribute10This parameter specifies a value for the CustomAttribute10 property on the recipient.
-CustomAttribute11This parameter specifies a value for the CustomAttribute11 property on the recipient.
-CustomAttribute12This parameter specifies a value for the CustomAttribute12 property on the recipient.
-CustomAttribute13This parameter specifies a value for the CustomAttribute13 property on the recipient.
-CustomAttribute14This parameter specifies a value for the CustomAttribute14 property on the recipient.
-CustomAttribute15This parameter specifies a value for the CustomAttribute15 property on the recipient.
-CustomAttribute2This parameter specifies a value for the CustomAttribute2 property on the recipient.
-CustomAttribute3This parameter specifies a value for the CustomAttribute3 property on the recipient.
-CustomAttribute4This parameter specifies a value for the CustomAttribute4 property on the recipient.
-CustomAttribute5This parameter specifies a value for the CustomAttribute5 property on the recipient.
-CustomAttribute6This parameter specifies a value for the CustomAttribute6 property on the recipient.
-CustomAttribute7This parameter specifies a value for the CustomAttribute7 property on the recipient.
-CustomAttribute8This parameter specifies a value for the CustomAttribute8 property on the recipient.
-CustomAttribute9This parameter specifies a value for the CustomAttribute9 property on the recipient.
-DataEncryptionPolicyThe DataEncryptionPolicy parameter specifies the data encryption policy that's applied to the mail user.
-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.
-EmailAddressesThe EmailAddresses parameter specifies all email addresses (proxy addresses) for the recipient, including the primary SMTP address.
-EmailAddressPolicyEnabledThe EmailAddressPolicyEnabled parameter specifies whether to apply email address policies to this recipient.
-EnableLitigationHoldForMigrationThe EnableLitigationHoldForMigration switch is used in cross-tenant mailbox migrations to increase the quota on the Recoverable Items folder to 100 GB (and also enable Litigation Hold) prior to migra…
-ExchangeGuidThis parameter is reserved for internal Microsoft use.
-ExcludeFromAllHoldsThe ExcludeFromAllHolds switch enables the deletion of soft deleted or inactive mail users by removing certain types of holds while preserving compliance requirements.
-ExcludeFromAllOrgHoldsThe ExcludeFromAllOrgHolds switch specifies whether to exclude the soft-deleted mail user from all organization-wide Microsoft 365 retention policies.
-ExcludeFromOrgHolds
-ExtensionCustomAttribute1This parameter specifies a value for the ExtensionCustomAttribute1 property on the recipient.
-ExtensionCustomAttribute2This parameter specifies a value for the ExtensionCustomAttribute2 property on the recipient.
-ExtensionCustomAttribute3This parameter specifies a value for the ExtensionCustomAttribute3 property on the recipient.
-ExtensionCustomAttribute4This parameter specifies a value for the ExtensionCustomAttribute4 property on the recipient.
-ExtensionCustomAttribute5This parameter specifies a value for the ExtensionCustomAttribute5 property on the recipient.
-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.
-ForceUpgradeThe ForceUpgrade switch suppresses the confirmation message that appears if the object was created in a previous version of Exchange.
-GrantSendOnBehalfToThe GrantSendOnBehalfTo parameter specifies who can send on behalf of this mail user.
-HiddenFromAddressListsEnabledThe HiddenFromAddressListsEnabled parameter specifies whether this recipient is visible in address lists.
-HVEAccountThe HVEAccount switch specifies that this mail user account is specifically used for the High volume email service.
-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.
-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…
-JournalArchiveAddressThis parameter is reserved for internal Microsoft use.
-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.
-MailTipThe MailTip parameter specifies the custom MailTip text for this recipient.
-MailTipTranslationsThe MailTipTranslations parameter specifies additional languages for the custom MailTip text that's defined by the MailTip parameter.
-MaxReceiveSizeThe MaxReceiveSize parameter specifies the maximum size of a message that can be sent to the mail user.
-MaxSendSizeThe MaxSendSize parameter specifies the maximum size of a message that can be sent by the mail user.
-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.
-MicrosoftOnlineServicesIDThe MicrosoftOnlineServicesID parameter specifies the user ID for the object.
-ModeratedByThe ModeratedBy parameter specifies one or more moderators for this recipient.
-ModerationEnabledThe ModerationEnabled parameter specifies whether moderation is enabled for this recipient.
-NameThe Name parameter specifies the unique name of the mail user.
-PasswordThe Password parameter allows users to change their own password.
-PrimarySmtpAddressThe PrimarySmtpAddress parameter specifies the primary return email address that's used for the recipient.
-RecalculateInactiveMailUser
-RecipientLimitsThe RecipientLimits parameter specifies the maximum number of recipients allowed in messages sent by the mail user.
-RecoverableItemsQuotaThe RecoverableItemsQuota parameter specifies the maximum size for the Recoverable Items folder for a mail user that has a corresponding remote mailbox or remote archive mailbox in the cloud-based se…
-RecoverableItemsWarningQuotaThe RecoverableItemsWarningQuota parameter specifies the warning threshold for the size of the Recoverable Items folder for a mail user that has a corresponding remote mailbox or remote archive mailb…
-RejectMessagesFromThe RejectMessagesFrom parameter specifies who isn't allowed to send messages to this recipient.
-RejectMessagesFromDLMembersThe RejectMessagesFromDLMembers parameter specifies who isn't allowed to send messages to this recipient.
-RejectMessagesFromSendersOrMembersThe RejectMessagesFromSendersOrMembers parameter specifies who isn't allowed to send messages to this recipient.
-RemoveComplianceTagHoldApplied
-RemoveDelayHoldApplied
-RemoveDelayReleaseHoldApplied
-RemoveDisabledArchiveThe RemoveDisabledArchive switch specifies whether to remove the disabled archive that's associated with the mail user.
-RemoveLitigationHoldEnabledThe RemoveLitigationHoldEnabled switch specifies whether to remove litigation hold from all mailbox locations of a mail user, including online archive, in an Exchange hybrid environment.
-RemoveMailboxProvisioningConstraint
-RemoveOrphanedHolds
-RemovePictureThe RemovePicture switch removes the picture from the mail user.
-RemoveSpokenNameThe RemoveSpokenName switch removes the spoken name from the mail user.
-RequireSenderAuthenticationEnabledThe RequireSenderAuthenticationEnabled parameter specifies whether to accept messages only from authenticated (internal) senders.
-ResetPasswordOnNextLogonThe ResetPasswordOnNextLogon parameter allows users to require themselves to 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…
-SecondaryAddressThe SecondaryAddress parameter specifies the secondary address used by the Unified Messaging (UM)-enabled user.
-SecondaryDialPlanThe SecondaryDialPlan parameter specifies a secondary UM dial plan to use.
-SendModerationNotificationsThe SendModerationNotifications parameter specifies when moderation notification messages are sent.
-SimpleDisplayNameThe SimpleDisplayName parameter is used to display an alternative description of the object when only a limited set of characters is permitted.
-SkipDualWriteThis parameter is reserved for internal Microsoft use.
-UMDtmfMapThe UMDtmfMap parameter specifies the dual-tone multiple-frequency (DTMF) map values for the recipient.
-UnblockForwardSyncPostCrossTenantMigration
-UseMapiRichTextFormatThe UseMapiRichTextFormat parameter specifies what to do with messages that are sent to the mail user or mail contact in MAPI rich text format, also known as Outlook Rich Text or Transport Neutral En…
-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…
-UserCertificateThe UserCertificate parameter specifies the digital certificate used to sign a user's email messages.
-UserPrincipalNameThe UserPrincipalName parameter specifies the logon name for the user account.
-UserSMimeCertificateThe UserSMimeCertificate parameter specifies the S/MIME certificate that's used to sign a user's email messages.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.
-WindowsEmailAddressThe WindowsEmailAddress parameter specifies the Windows email address for this recipient.