Commands › Exchange Online

Set-Mailbox

Exchange Online ExchangeOnlineManagement Set-*

Modify the settings of existing mailboxes.

Quick start script

# Set-Mailbox — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-Mailbox
$before | Format-List

# 3. Make the change (dry run first)
Set-Mailbox -Identity <MailboxIdParameter> -ExcludeFromAllHolds <SwitchParameter> -IsExchangeCloudManaged <Boolean> -WhatIf
Set-Mailbox -Identity <MailboxIdParameter> -ExcludeFromAllHolds <SwitchParameter> -IsExchangeCloudManaged <Boolean>

# 4. Verify and diff
$after = Get-Mailbox
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax — 12 parameter sets

Identity (Default)

Set-Mailbox [-Identity] <MailboxIdParameter>
 [-AcceptMessagesOnlyFrom <MultiValuedProperty>]
 [-AcceptMessagesOnlyFromDLMembers <MultiValuedProperty>]
 [-AcceptMessagesOnlyFromSendersOrMembers <MultiValuedProperty>]
 [-AccountDisabled <Boolean>]
 [-AddressBookPolicy <AddressBookMailboxPolicyIdParameter>]
 [-Alias <String>]
 [-AntispamBypassEnabled <Boolean>]
 [-ApplyMandatoryProperties]
 [-Arbitration]
 [-ArbitrationMailbox <MailboxIdParameter>]
 [-ArchiveDatabase <DatabaseIdParameter>]
 [-ArchiveDomain <SmtpDomain>]
 [-ArchiveName <MultiValuedProperty>]
 [-ArchiveQuota <Unlimited>]
 [-ArchiveStatus <ArchiveStatusFlags>]
 [-ArchiveWarningQuota <Unlimited>]
 [-AttributesToClear <SetMailbox+ClearableADAttributes[]>]
 [-AuditAdmin <MultiValuedProperty>]
 [-AuditDelegate <MultiValuedProperty>]
 [-AuditEnabled <Boolean>]
 [-AuditLog]
 [-AuditLogAgeLimit <EnhancedTimeSpan>]
 [-AuditOwner <MultiValuedProperty>]
 [-AutoArchivingEnabled <Boolean>]
 [-AuxAuditLog]
 [-BypassModerationFromSendersOrMembers <MultiValuedProperty>]
 [-CalendarLoggingQuota <Unlimited>]
 [-CalendarRepairDisabled <Boolean>]
 [-CalendarVersionStoreDisabled <Boolean>]
 [-ClientExtensions <Boolean>]
 [-Confirm]
 [-CreateDTMFMap <Boolean>]
 [-CustomAttribute1 <String>]
 [-CustomAttribute10 <String>]
 [-CustomAttribute11 <String>]
 [-CustomAttribute12 <String>]
 [-CustomAttribute13 <String>]
 [-CustomAttribute14 <String>]
 [-CustomAttribute15 <String>]
 [-CustomAttribute2 <String>]
 [-CustomAttribute3 <String>]
 [-CustomAttribute4 <String>]
 [-CustomAttribute5 <String>]
 [-CustomAttribute6 <String>]
 [-CustomAttribute7 <String>]
 [-CustomAttribute8 <String>]
 [-CustomAttribute9 <String>]
 [-Database <DatabaseIdParameter>]
 [-DefaultAuditSet <MultiValuedProperty>]
 [-DefaultPublicFolderMailbox <RecipientIdParameter>]
 [-DeliverToMailboxAndForward <Boolean>]
 [-DisableThrottling <Boolean>]
 [-DisplayName <String>]
 [-DomainController <Fqdn>]
 [-DowngradeHighPriorityMessagesEnabled <Boolean>]
 [-DumpsterMessagesPerFolderCountReceiveQuota <Int32>]
 [-DumpsterMessagesPerFolderCountWarningQuota <Int32>]
 [-EmailAddresses <ProxyAddressCollection>]
 [-EmailAddressPolicyEnabled <Boolean>]
 [-EnableRoomMailboxAccount <Boolean>]
 [-EndDateForRetentionHold <DateTime>]
 [-ExtendedPropertiesCountQuota <Int32>]
 [-ExtensionCustomAttribute1 <MultiValuedProperty>]
 [-ExtensionCustomAttribute2 <MultiValuedProperty>]
 [-ExtensionCustomAttribute3 <MultiValuedProperty>]
 [-ExtensionCustomAttribute4 <MultiValuedProperty>]
 [-ExtensionCustomAttribute5 <MultiValuedProperty>]
 [-ExternalOofOptions <ExternalOofOptions>]
 [-FolderHierarchyChildrenCountReceiveQuota <Int32>]
 [-FolderHierarchyChildrenCountWarningQuota <Int32>]
 [-FolderHierarchyDepthReceiveQuota <Int32>]
 [-FolderHierarchyDepthWarningQuota <Int32>]
 [-FoldersCountReceiveQuota <Int32>]
 [-FoldersCountWarningQuota <Int32>]
 [-Force]
 [-ForwardingAddress <RecipientIdParameter>]
 [-ForwardingSmtpAddress <ProxyAddress>]
 [-GMGen <Boolean>]
 [-GrantSendOnBehalfTo <MultiValuedProperty>]
 [-HiddenFromAddressListsEnabled <Boolean>]
 [-IgnoreDefaultScope]
 [-ImListMigrationCompleted <Boolean>]
 [-ImmutableId <String>]
 [-IsExcludedFromServingHierarchy <Boolean>]
 [-IsHierarchyReady <Boolean>]
 [-IsHierarchySyncEnabled <Boolean>]
 [-IssueWarningQuota <Unlimited>]
 [-Languages <MultiValuedProperty>]
 [-LinkedCredential <PSCredential>]
 [-LinkedDomainController <String>]
 [-LinkedMasterAccount <UserIdParameter>]
 [-LitigationHoldDate <DateTime>]
 [-LitigationHoldDuration <Unlimited>]
 [-LitigationHoldEnabled <Boolean>]
 [-LitigationHoldOwner <String>]
 [-MailboxMessagesPerFolderCountReceiveQuota <Int32>]
 [-MailboxMessagesPerFolderCountWarningQuota <Int32>]
 [-MailTip <String>]
 [-MailTipTranslations <MultiValuedProperty>]
 [-ManagedFolderMailboxPolicy <MailboxPolicyIdParameter>]
 [-ManagedFolderMailboxPolicyAllowed]
 [-Management <Boolean>]
 [-MaxBlockedSenders <Int32>]
 [-MaxReceiveSize <Unlimited>]
 [-MaxSafeSenders <Int32>]
 [-MaxSendSize <Unlimited>]
 [-MessageCopyForSendOnBehalfEnabled <Boolean>]
 [-MessageCopyForSentAsEnabled <Boolean>]
 [-MessageTracking <Boolean>]
 [-MessageTrackingReadStatusEnabled <Boolean>]
 [-Migration <Boolean>]
 [-ModeratedBy <MultiValuedProperty>]
 [-ModerationEnabled <Boolean>]
 [-Name <String>]
 [-NewPassword <SecureString>]
 [-OABGen <Boolean>]
 [-Office <String>]
 [-OfflineAddressBook <OfflineAddressBookIdParameter>]
 [-OldPassword <SecureString>]
 [-OMEncryption <Boolean>]
 [-OMEncryptionStore <Boolean>]
 [-Password <SecureString>]
 [-PrimarySmtpAddress <SmtpAddress>]
 [-ProhibitSendQuota <Unlimited>]
 [-ProhibitSendReceiveQuota <Unlimited>]
 [-PstProvider <Boolean>]
 [-PublicFolder]
 [-QueryBaseDN <OrganizationalUnitIdParameter>]
 [-RecipientLimits <Unlimited>]
 [-RecoverableItemsQuota <Unlimited>]
 [-RecoverableItemsWarningQuota <Unlimited>]
 [-RejectMessagesFrom <MultiValuedProperty>]
 [-RejectMessagesFromDLMembers <MultiValuedProperty>]
 [-RejectMessagesFromSendersOrMembers <MultiValuedProperty>]
 [-RemoteRecipientType <RemoteRecipientType>]
 [-RemoveManagedFolderAndPolicy]
 [-RemovePicture]
 [-RemoveSpokenName]
 [-RequireSenderAuthenticationEnabled <Boolean>]
 [-ResetPasswordOnNextLogon <Boolean>]
 [-ResourceCapacity <Int32>]
 [-ResourceCustom <MultiValuedProperty>]
 [-RetainDeletedItemsFor <EnhancedTimeSpan>]
 [-RetainDeletedItemsUntilBackup <Boolean>]
 [-RetentionComment <String>]
 [-RetentionHoldEnabled <Boolean>]
 [-RetentionPolicy <MailboxPolicyIdParameter>]
 [-RetentionUrl <String>]
 [-RoleAssignmentPolicy <MailboxPolicyIdParameter>]
 [-RoomMailboxPassword <SecureString>]
 [-RulesQuota <ByteQuantifiedSize>]
 [-SamAccountName <String>]
 [-SCLDeleteEnabled <Boolean>]
 [-SCLDeleteThreshold <Int32>]
 [-SCLJunkEnabled <Boolean>]
 [-SCLJunkThreshold <Int32>]
 [-SCLQuarantineEnabled <Boolean>]
 [-SCLQuarantineThreshold <Int32>]
 [-SCLRejectEnabled <Boolean>]
 [-SCLRejectThreshold <Int32>]
 [-SecondaryAddress <String>]
 [-SecondaryDialPlan <UMDialPlanIdParameter>]
 [-SendModerationNotifications <TransportModerationNotificationFlags>]
 [-SharingPolicy <SharingPolicyIdParameter>]
 [-SimpleDisplayName <String>]
 [-SingleItemRecoveryEnabled <Boolean>]
 [-StartDateForRetentionHold <DateTime>]
 [-StsRefreshTokensValidFrom <DateTime>]
 [-SystemMessageSizeShutoffQuota <Int64>]
 [-SystemMessageSizeWarningQuota <Int64>]
 [-ThrottlingPolicy <ThrottlingPolicyIdParameter>]
 [-Type <ConvertibleMailboxSubType>]
 [-UMDataStorage <Boolean>]
 [-UMDtmfMap <MultiValuedProperty>]
 [-UMGrammar <Boolean>]
 [-UseDatabaseQuotaDefaults <Boolean>]
 [-UseDatabaseRetentionDefaults <Boolean>]
 [-UserCertificate <MultiValuedProperty>]
 [-UserPrincipalName <String>]
 [-UserSMimeCertificate <MultiValuedProperty>]
 [-WhatIf]
 [-WindowsEmailAddress <SmtpAddress>]
 [<CommonParameters>]

ExcludeFromAllHolds

Set-Mailbox [-Identity] <MailboxIdParameter> [-ExcludeFromAllHolds]
 [-AcceptMessagesOnlyFrom <MultiValuedProperty>]
 [-AcceptMessagesOnlyFromDLMembers <MultiValuedProperty>]
 [-AcceptMessagesOnlyFromSendersOrMembers <MultiValuedProperty>]
 [-AccountDisabled <Boolean>]
 [-AddressBookPolicy <AddressBookMailboxPolicyIdParameter>]
 [-Alias <String>]
 [-ApplyMandatoryProperties]
 [-ArchiveName <MultiValuedProperty>]
 [-AuditAdmin <MultiValuedPropert>]
 [-AuditDelegate <MultiValuedPropert>]
 [-AuditEnabled <Boolean>]
 [-AuditLogAgeLimit <EnhancedTimeSpan>]
 [-AuditOwner <MultiValuedProperty>]
 [-AutoArchivingEnabled <Boolean>]
 [-BypassModerationFromSendersOrMembers <MultiValuedProperty>]
 [-CalendarRepairDisabled <Boolean>]
 [-CalendarVersionStoreDisabled <Boolean>]
 [-ClearThrottlingPolicyAssignment]
 [-Confirm]
 [-CustomAttribute1 <String>]
 [-CustomAttribute10 <String>]
 [-CustomAttribute11 <String>]
 [-CustomAttribute12 <String>]
 [-CustomAttribute13 <String>]
 [-CustomAttribute14 <String>]
 [-CustomAttribute15 <String>]
 [-CustomAttribute2 <String>]
 [-CustomAttribute3 <String>]
 [-CustomAttribute4 <String>]
 [-CustomAttribute5 <String>]
 [-CustomAttribute6 <String>]
 [-CustomAttribute7 <String>]
 [-CustomAttribute8 <String>]
 [-CustomAttribute9 <String>]
 [-DataEncryptionPolicy <DataEncryptionPolicyIdParameter>]
 [-DefaultAuditSet <MultiValuedProperty>]
 [-DefaultPublicFolderMailbox <RecipientIdParameter>]
 [-DeliverToMailboxAndForward <Boolean>]
 [-DisplayName <String>]
 [-ElcProcessingDisabled <Boolean>]
 [-EmailAddressDisplayNames <MultiValuedProperty>]
 [-EmailAddresses <ProxyAddressCollection>]
 [-EnableRoomMailboxAccount <Boolean>]
 [-EndDateForRetentionHold <DateTime>]
 [-EnforcedTimestamps <String>]
 [-ExtensionCustomAttribute1 <MultiValuedProperty>]
 [-ExtensionCustomAttribute2 <MultiValuedProperty>]
 [-ExtensionCustomAttribute3 <MultiValuedProperty>]
 [-ExtensionCustomAttribute4 <MultiValuedProperty>]
 [-ExtensionCustomAttribute5 <MultiValuedProperty>]
 [-ExternalOofOptions <ExternalOofOptions>]
 [-Force]
 [-ForwardingAddress <RecipientIdParameter>]
 [-ForwardingSmtpAddress <ProxyAddress>]
 [-GrantSendOnBehalfTo <MultiValuedProperty>]
 [-GroupMailbox]
 [-HiddenFromAddressListsEnabled <Boolean>]
 [-ImmutableId <String>]
 [-InactiveMailbox]
 [-IsExcludedFromServingHierarchy <Boolean>]
 [-IssueWarningQuota <Unlimited>]
 [-JournalArchiveAddress <SmtpAddress>]
 [-Languages <MultiValuedProperty>]
 [-LitigationHoldDate <DateTime>]
 [-LitigationHoldDuration <Unlimited>]
 [-LitigationHoldEnabled <Boolean>]
 [-LitigationHoldOwner <String>]
 [-MailboxRegion <String>]
 [-MailTip <String>]
 [-MailTipTranslations <MultiValuedProperty>]
 [-MaxReceiveSize <Unlimited>]
 [-MaxSendSize <Unlimited>]
 [-MessageCopyForSendOnBehalfEnabled <Boolean>]
 [-MessageCopyForSentAsEnabled <Boolean>]
 [-MessageCopyForSMTPClientSubmissionEnabled <Boolean>]
 [-MessageTrackingReadStatusEnabled <Boolean>]
 [-MicrosoftOnlineServicesID <SmtpAddress>]
 [-ModeratedBy <MultiValuedProperty>]
 [-ModerationEnabled <Boolean>]
 [-Name <String>]
 [-NonCompliantDevices <MultiValuedProperty>]
 [-Office <String>]
 [-Password <SecureString>]
 [-ProhibitSendQuota <Unlimited>]
 [-ProhibitSendReceiveQuota <Unlimited>]
 [-ProvisionedForOfficeGraph]
 [-PublicFolder]
 [-RecipientLimits <Unlimited>]
 [-RejectMessagesFrom <MultiValuedProperty>]
 [-RejectMessagesFromDLMembers <MultiValuedProperty>]
 [-RejectMessagesFromSendersOrMembers <MultiValuedProperty>]
 [-RemoveMailboxProvisioningConstraint]
 [-RequireSenderAuthenticationEnabled <Boolean>]
 [-ResourceCapacity <Int32>]
 [-ResourceCustom <MultiValuedProperty>]
 [-RetainDeletedItemsFor <EnhancedTimeSpan>]
 [-RetentionComment <String>]
 [-RetentionHoldEnabled <Boolean>]
 [-RetentionPolicy <MailboxPolicyIdParameter>]
 [-RetentionUrl <String>]
 [-RoleAssignmentPolicy <MailboxPolicyIdParameter>]
 [-RoomMailboxPassword <SecureString>]
 [-RulesQuota <ByteQuantifiedSize>]
 [-SchedulerAssistant <Boolean>]
 [-SendModerationNotifications <TransportModerationNotificationFlags>]
 [-SharingPolicy <SharingPolicyIdParameter>]
 [-SimpleDisplayName <String>]
 [-SingleItemRecoveryEnabled <Boolean>]
 [-StartDateForRetentionHold <DateTime>]
 [-StsRefreshTokensValidFrom <DateTime>]
 [-Type <ConvertibleMailboxSubType>]
 [-UniqueRecipientsCountLimitLevel <UniqueRecipientsCountLimitLevelType>]
 [-UniqueUnrestrictedGroupsLimitEnabled <Boolean>]
 [-UpdateEnforcedTimestamp]
 [-UseDatabaseQuotaDefaults <Boolean>]
 [-UseDatabaseRetentionDefaults <Boolean>]
 [-UserCertificate <MultiValuedProperty>]
 [-UserSMimeCertificate <MultiValuedProperty>]
 [-WhatIf]
 [-WindowsEmailAddress <SmtpAddress>]

ExcludeFromAllOrgHolds

Set-Mailbox [-Identity] <MailboxIdParameter> [-ExcludeFromAllOrgHolds]
 [-AcceptMessagesOnlyFrom <MultiValuedProperty>]
 [-AcceptMessagesOnlyFromDLMembers <MultiValuedProperty>]
 [-AcceptMessagesOnlyFromSendersOrMembers <MultiValuedProperty>]
 [-AccountDisabled <Boolean>]
 [-AddressBookPolicy <AddressBookMailboxPolicyIdParameter>]
 [-Alias <String>]
 [-ApplyMandatoryProperties]
 [-ArchiveName <MultiValuedProperty>]
 [-AuditAdmin <MultiValuedProperty>]
 [-AuditDelegate <MultiValuedProperty>]
 [-AuditEnabled <Boolean>]
 [-AuditLogAgeLimit <EnhancedTimeSpan>]
 [-AuditOwner <MultiValuedProperty>]
 [-AutoArchivingEnabled <Boolean>]
 [-AuxAuditLog]
 [-BypassModerationFromSendersOrMembers <MultiValuedProperty>]
 [-CalendarRepairDisabled <Boolean>]
 [-CalendarVersionStoreDisabled <Boolean>]
 [-ClearThrottlingPolicyAssignment]
 [-Confirm]
 [-CreateDTMFMap <Boolean>]
 [-CustomAttribute1 <String>]
 [-CustomAttribute10 <String>]
 [-CustomAttribute11 <String>]
 [-CustomAttribute12 <String>]
 [-CustomAttribute13 <String>]
 [-CustomAttribute14 <String>]
 [-CustomAttribute15 <String>]
 [-CustomAttribute2 <String>]
 [-CustomAttribute3 <String>]
 [-CustomAttribute4 <String>]
 [-CustomAttribute5 <String>]
 [-CustomAttribute6 <String>]
 [-CustomAttribute7 <String>]
 [-CustomAttribute8 <String>]
 [-CustomAttribute9 <String>]
 [-DataEncryptionPolicy <DataEncryptionPolicyIdParameter>]
 [-DefaultAuditSet <MultiValuedProperty>]
 [-DefaultPublicFolderMailbox <RecipientIdParameter>]
 [-DeliverToMailboxAndForward <Boolean>]
 [-DisplayName <String>]
 [-ElcProcessingDisabled <Boolean>]
 [-EmailAddressDisplayNames <MultiValuedProperty>]
 [-EmailAddresses <ProxyAddressCollection>]
 [-EnableRoomMailboxAccount <Boolean>]
 [-EndDateForRetentionHold <DateTime>]
 [-EnforcedTimestamps <String>]
 [-ExtensionCustomAttribute1 <MultiValuedProperty>]
 [-ExtensionCustomAttribute2 <MultiValuedProperty>]
 [-ExtensionCustomAttribute3 <MultiValuedProperty>]
 [-ExtensionCustomAttribute4 <MultiValuedProperty>]
 [-ExtensionCustomAttribute5 <MultiValuedProperty>]
 [-ExternalOofOptions <ExternalOofOptions>]
 [-Force]
 [-ForwardingAddress <RecipientIdParameter>]
 [-ForwardingSmtpAddress <ProxyAddress>]
 [-GrantSendOnBehalfTo <MultiValuedProperty>]
 [-GroupMailbox <MailboxIdParameter>]
 [-HiddenFromAddressListsEnabled <Boolean>]
 [-ImListMigrationCompleted <Boolean>]
 [-ImmutableId <String>]
 [-InactiveMailbox]
 [-IsExcludedFromServingHierarchy <Boolean>]
 [-IssueWarningQuota <Unlimited>]
 [-JournalArchiveAddress <SmtpAddress>]
 [-Languages <MultiValuedProperty>]
 [-LitigationHoldDate <DateTime>]
 [-LitigationHoldDuration <Unlimited>]
 [-LitigationHoldEnabled <Boolean>]
 [-LitigationHoldOwner <String>]
 [-MailboxRegion <String>]
 [-MailTip <String>]
 [-MailTipTranslations <MultiValuedProperty>]
 [-MaxReceiveSize <Unlimited>]
 [-MaxSendSize <Unlimited>]
 [-MessageCopyForSendOnBehalfEnabled <Boolean>]
 [-MessageCopyForSentAsEnabled <Boolean>]
 [-MessageCopyForSMTPClientSubmissionEnabled <Boolean>]
 [-MessageTracking <Boolean>]
 [-MessageTrackingReadStatusEnabled <Boolean>]
 [-MicrosoftOnlineServicesID <SmtpAddress>]
 [-ModeratedBy <MultiValuedProperty>]
 [-ModerationEnabled <Boolean>]
 [-Name <String>]
 [-NonCompliantDevices <MultiValuedProperty>]
 [-Office <String>]
 [-Password <SecureString>]
 [-ProhibitSendQuota <Unlimited>]
 [-ProhibitSendReceiveQuota <Unlimited>]
 [-ProvisionedForOfficeGraph]
 [-PublicFolder]
 [-RecipientLimits <Unlimited>]
 [-RejectMessagesFrom <MultiValuedProperty>]
 [-RejectMessagesFromDLMembers <MultiValuedProperty>]
 [-RejectMessagesFromSendersOrMembers <MultiValuedProperty>]
 [-RemoveMailboxProvisioningConstraint]
 [-RequireSenderAuthenticationEnabled <Boolean>]
 [-ResourceCapacity <Int32>]
 [-ResourceCustom <MultiValuedProperty>]
 [-RetainDeletedItemsFor <EnhancedTimeSpan>]
 [-RetentionComment <String>]
 [-RetentionHoldEnabled <Boolean>]
 [-RetentionPolicy <MailboxPolicyIdParameter>]
 [-RetentionUrl <String>]
 [-RoleAssignmentPolicy <MailboxPolicyIdParameter>]
 [-RoomMailboxPassword <SecureString>]
 [-RulesQuota <ByteQuantifiedSize>]
 [-SchedulerAssistant <Boolean>]
 [-SecondaryAddress <String>]
 [-SecondaryDialPlan <UMDialPlanIdParameter>]
 [-SendModerationNotifications <TransportModerationNotificationFlags>]
 [-SharingPolicy <SharingPolicyIdParameter>]
 [-SimpleDisplayName <String>]
 [-SingleItemRecoveryEnabled <Boolean>]
 [-SkipDualWrite]
 [-StartDateForRetentionHold <DateTime>]
 [-Type <ConvertibleMailboxSubType>]
 [-UMDtmfMap <MultiValuedProperty>]
 [-UniqueRecipientsCountLimitLevel <UniqueRecipientsCountLimitLevelType>]
 [-UniqueUnrestrictedGroupsLimitEnabled <Boolean>]
 [-UpdateEnforcedTimestamp]
 [-UseDatabaseQuotaDefaults <Boolean>]
 [-UseDatabaseRetentionDefaults <Boolean>]
 [-UserCertificate <MultiValuedProperty>]
 [-UserSMimeCertificate <MultiValuedProperty>]
 [-WhatIf]
 [-WindowsEmailAddress <SmtpAddress>]
 [<CommonParameters>]

ExcludeFromOrgHolds

Set-Mailbox [-Identity] <MailboxIdParameter> [-ExcludeFromOrgHolds <String>]
 [-AcceptMessagesOnlyFrom <MultiValuedProperty>]
 [-AcceptMessagesOnlyFromDLMembers <MultiValuedProperty>]
 [-AcceptMessagesOnlyFromSendersOrMembers <MultiValuedProperty>]
 [-AccountDisabled <Boolean>]
 [-AddressBookPolicy <AddressBookMailboxPolicyIdParameter>]
 [-Alias <String>]
 [-ApplyMandatoryProperties]
 [-ArchiveName <MultiValuedProperty>]
 [-AuditAdmin <MultiValuedProperty>]
 [-AuditDelegate <MultiValuedProperty>]
 [-AuditEnabled <Boolean>]
 [-AuditLogAgeLimit <EnhancedTimeSpan>]
 [-AuditOwner <MultiValuedProperty>]
 [-AutoArchivingEnabled <Boolean>]
 [-AuxAuditLog]
 [-BypassModerationFromSendersOrMembers <MultiValuedProperty>]
 [-CalendarRepairDisabled <Boolean>]
 [-CalendarVersionStoreDisabled <Boolean>]
 [-ClearThrottlingPolicyAssignment]
 [-Confirm]
 [-CreateDTMFMap <Boolean>]
 [-CustomAttribute1 <String>]
 [-CustomAttribute10 <String>]
 [-CustomAttribute11 <String>]
 [-CustomAttribute12 <String>]
 [-CustomAttribute13 <String>]
 [-CustomAttribute14 <String>]
 [-CustomAttribute15 <String>]
 [-CustomAttribute2 <String>]
 [-CustomAttribute3 <String>]
 [-CustomAttribute4 <String>]
 [-CustomAttribute5 <String>]
 [-CustomAttribute6 <String>]
 [-CustomAttribute7 <String>]
 [-CustomAttribute8 <String>]
 [-CustomAttribute9 <String>]
 [-DataEncryptionPolicy <DataEncryptionPolicyIdParameter>]
 [-DefaultAuditSet <MultiValuedProperty>]
 [-DefaultPublicFolderMailbox <RecipientIdParameter>]
 [-DeliverToMailboxAndForward <Boolean>]
 [-DisplayName <String>]
 [-ElcProcessingDisabled <Boolean>]
 [-EmailAddressDisplayNames <MultiValuedProperty>]
 [-EmailAddresses <ProxyAddressCollection>]
 [-EnableRoomMailboxAccount <Boolean>]
 [-EndDateForRetentionHold <DateTime>]
 [-EnforcedTimestamps <String>]
 [-ExtensionCustomAttribute1 <MultiValuedProperty>]
 [-ExtensionCustomAttribute2 <MultiValuedProperty>]
 [-ExtensionCustomAttribute3 <MultiValuedProperty>]
 [-ExtensionCustomAttribute4 <MultiValuedProperty>]
 [-ExtensionCustomAttribute5 <MultiValuedProperty>]
 [-ExternalOofOptions <ExternalOofOptions>]
 [-Force]
 [-ForwardingAddress <RecipientIdParameter>]
 [-ForwardingSmtpAddress <ProxyAddress>]
 [-GrantSendOnBehalfTo <MultiValuedProperty>]
 [-GroupMailbox <MailboxIdParameter>]
 [-HiddenFromAddressListsEnabled <Boolean>]
 [-ImListMigrationCompleted <Boolean>]
 [-ImmutableId <String>]
 [-InactiveMailbox]
 [-IsExcludedFromServingHierarchy <Boolean>]
 [-IssueWarningQuota <Unlimited>]
 [-JournalArchiveAddress <SmtpAddress>]
 [-Languages <MultiValuedProperty>]
 [-LitigationHoldDate <DateTime>]
 [-LitigationHoldDuration <Unlimited>]
 [-LitigationHoldEnabled <Boolean>]
 [-LitigationHoldOwner <String>]
 [-MailboxRegion <String>]
 [-MailTip <String>]
 [-MailTipTranslations <MultiValuedProperty>]
 [-MaxReceiveSize <Unlimited>]
 [-MaxSendSize <Unlimited>]
 [-MessageCopyForSendOnBehalfEnabled <Boolean>]
 [-MessageCopyForSentAsEnabled <Boolean>]
 [-MessageCopyForSMTPClientSubmissionEnabled <Boolean>]
 [-MessageTracking <Boolean>]
 [-MessageTrackingReadStatusEnabled <Boolean>]
 [-MicrosoftOnlineServicesID <SmtpAddress>]
 [-ModeratedBy <MultiValuedProperty>]
 [-ModerationEnabled <Boolean>]
 [-Name <String>]
 [-NonCompliantDevices <MultiValuedProperty>]
 [-Office <String>]
 [-Password <SecureString>]
 [-ProhibitSendQuota <Unlimited>]
 [-ProhibitSendReceiveQuota <Unlimited>]
 [-ProvisionedForOfficeGraph]
 [-PublicFolder]
 [-RecipientLimits <Unlimited>]
 [-RejectMessagesFrom <MultiValuedProperty>]
 [-RejectMessagesFromDLMembers <MultiValuedProperty>]
 [-RejectMessagesFromSendersOrMembers <MultiValuedProperty>]
 [-RemoveMailboxProvisioningConstraint]
 [-RequireSenderAuthenticationEnabled <Boolean>]
 [-ResourceCapacity <Int32>]
 [-ResourceCustom <MultiValuedProperty>]
 [-RetainDeletedItemsFor <EnhancedTimeSpan>]
 [-RetentionComment <String>]
 [-RetentionHoldEnabled <Boolean>]
 [-RetentionPolicy <MailboxPolicyIdParameter>]
 [-RetentionUrl <String>]
 [-RoleAssignmentPolicy <MailboxPolicyIdParameter>]
 [-RoomMailboxPassword <SecureString>]
 [-RulesQuota <ByteQuantifiedSize>]
 [-SchedulerAssistant <Boolean>]
 [-SecondaryAddress <String>]
 [-SecondaryDialPlan <UMDialPlanIdParameter>]
 [-SendModerationNotifications <TransportModerationNotificationFlags>]
 [-SharingPolicy <SharingPolicyIdParameter>]
 [-SimpleDisplayName <String>]
 [-SingleItemRecoveryEnabled <Boolean>]
 [-SkipDualWrite]
 [-StartDateForRetentionHold <DateTime>]
 [-Type <ConvertibleMailboxSubType>]
 [-UMDtmfMap <MultiValuedProperty>]
 [-UniqueRecipientsCountLimitLevel <UniqueRecipientsCountLimitLevelType>]
 [-UniqueUnrestrictedGroupsLimitEnabled <Boolean>]
 [-UpdateEnforcedTimestamp]
 [-UseDatabaseQuotaDefaults <Boolean>]
 [-UseDatabaseRetentionDefaults <Boolean>]
 [-UserCertificate <MultiValuedProperty>]
 [-UserSMimeCertificate <MultiValuedProperty>]
 [-WhatIf]
 [-WindowsEmailAddress <SmtpAddress>]
 [<CommonParameters>]

8 more parameter sets — see the parameter table below.

Parameters (213)

ParameterTypeRequiredWhat it controls
-Identity MailboxIdParameter yes The Identity parameter specifies the mailbox that you want to modify. You can use any value that uniquely identifies the mailbox. For example:
-AcceptMessagesOnlyFrom MultiValuedProperty The AcceptMessagesOnlyFrom parameter specifies who is allowed to send messages to this recipient. Messages from other senders are rejected.
-AcceptMessagesOnlyFromDLMembers MultiValuedProperty The AcceptMessagesOnlyFromDLMembers parameter specifies who is allowed to send messages to this recipient. Messages from other senders are rejected.
-AcceptMessagesOnlyFromSendersOrMembers MultiValuedProperty The AcceptMessagesOnlyFromSendersOrMembers parameter specifies who is allowed to send messages to this recipient. Messages from other senders are rejected.
-AccountDisabled Boolean This parameter is functional only in the cloud-based service.
-AddressBookPolicy AddressBookMailboxPolicyIdParameter The AddressBookPolicy parameter specifies the address book policy that's applied to the mailbox. You can use any value that uniquely identifies the address book policy. For example:
-Alias String The Alias parameter specifies the Exchange alias (also known as the mail nickname) for the recipient. This value identifies the recipient as a mail-enabled object, and shouldn't be confused with multiple email...
-AntispamBypassEnabled Boolean This parameter is available only in on-premises Exchange.
-ApplyMandatoryProperties SwitchParameter The ApplyMandatoryProperties switch specifies whether to update the msExchVersion attribute of the mailbox. You don't need to specify a value with this switch.
-Arbitration SwitchParameter This parameter is available only in on-premises Exchange.
-ArbitrationMailbox MailboxIdParameter This parameter is available only in on-premises Exchange.
-ArchiveDatabase DatabaseIdParameter This parameter is available only in on-premises Exchange.
-ArchiveDomain SmtpDomain This parameter is available only in on-premises Exchange.
-ArchiveName MultiValuedProperty The ArchiveName parameter specifies the name of the archive mailbox. This is the name displayed to users in Outlook on the web (formerly known as Outlook Web App). If the value contains spaces, enclose the value in...
-ArchiveQuota Unlimited This parameter is available only in on-premises Exchange.
-ArchiveStatus ArchiveStatusFlags This cmdlet is available only in on-premises Exchange.
-ArchiveWarningQuota Unlimited This parameter is available only in on-premises Exchange.
-AttributesToClear SetMailbox+ClearableADAttributes[] This parameter is available only in on-premises Exchange.
-AuditAdmin MultiValuedProperty The AuditAdmin parameter specifies the mailbox operations to log for administrators as part of mailbox audit logging. Valid values are:
-AuditDelegate MultiValuedProperty The AuditDelegate parameter specifies the mailbox operations to log for delegate users as part of mailbox audit logging. Valid values are:
-AuditEnabled Boolean The AuditEnabled parameter specifies whether to enable or disable mailbox audit logging for the mailbox. If auditing is enabled, actions specified in the AuditAdmin, AuditDelegate, and AuditOwner parameters are...
-AuditLog SwitchParameter This parameter is available only in on-premises Exchange.
-AuditLogAgeLimit EnhancedTimeSpan The AuditLogAgeLimit parameter specifies the maximum age of audit log entries for the mailbox. Log entries older than the specified value are removed. The default value is 90 days.
-AuditOwner MultiValuedProperty The AuditOwner parameter specifies the mailbox operations to log for mailbox owners as part of mailbox audit logging. Valid values include:
-AutoArchivingEnabled Boolean This parameter is available only in the cloud-based service.
-AuxAuditLog SwitchParameter This parameter is available only in on-premises Exchange.
-BypassModerationFromSendersOrMembers MultiValuedProperty The BypassModerationFromSendersOrMembers parameter specifies who is allowed to send messages to this moderated recipient without approval from a moderator. Valid values for this parameter are individual senders and...
-CalendarLoggingQuota Unlimited This parameter is available only in on-premises Exchange.
-CalendarRepairDisabled Boolean The CalendarRepairDisabled parameter specifies whether to prevent calendar items in the mailbox from being repaired by the Calendar Repair Assistant. Valid values are:
-CalendarVersionStoreDisabled Boolean The CalendarVersionStoreDisabled parameter specifies whether to prevent calendar changes in the mailbox from being logged. Valid values are:
-ClearThrottlingPolicyAssignment SwitchParameter This parameter is available only in the cloud-based service.
-ClientExtensions Boolean This parameter is available only in on-premises Exchange.
-Confirm SwitchParameter The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on whether the cmdlet requires confirmation before proceeding.
-CreateDTMFMap Boolean This parameter is available only in on-premises Exchange.
-CustomAttribute1 String This parameter specifies a value for the CustomAttribute1 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute10 String This parameter specifies a value for the CustomAttribute10 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute11 String This parameter specifies a value for the CustomAttribute11 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute12 String This parameter specifies a value for the CustomAttribute12 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute13 String This parameter specifies a value for the CustomAttribute13 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute14 String This parameter specifies a value for the CustomAttribute14 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute15 String This parameter specifies a value for the CustomAttribute15 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute2 String This parameter specifies a value for the CustomAttribute2 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute3 String This parameter specifies a value for the CustomAttribute3 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute4 String This parameter specifies a value for the CustomAttribute4 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute5 String This parameter specifies a value for the CustomAttribute5 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute6 String This parameter specifies a value for the CustomAttribute6 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute7 String This parameter specifies a value for the CustomAttribute7 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute8 String This parameter specifies a value for the CustomAttribute8 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-CustomAttribute9 String This parameter specifies a value for the CustomAttribute9 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. The maximum...
-Database DatabaseIdParameter This parameter is available only in on-premises Exchange.
-DataEncryptionPolicy DataEncryptionPolicyIdParameter This parameter is available only in the cloud-based service.
-DefaultAuditSet MultiValuedProperty This parameter is available only in the cloud-based service.
-DefaultPublicFolderMailbox RecipientIdParameter The DefaultPublicFolderMailbox parameter assigns a specific public folder mailbox to the user. You can use any value that uniquely identifies the public folder mailbox. For example:
-DeliverToMailboxAndForward Boolean The DeliverToMailboxAndForward parameter specifies the message delivery behavior when a forwarding address is specified by the ForwardingAddress or ForwardingSmtpAddress parameters. Valid values are:
-DisableThrottling Boolean This parameter is available only in on-premises Exchange.
-DisplayName String The DisplayName parameter specifies the display name of the mailbox. The display name is visible in the Exchange admin center, in address lists, and in Outlook. The maximum length is 256 characters. If the value...
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-DowngradeHighPriorityMessagesEnabled Boolean This parameter is available only in on-premises Exchange.
-DumpsterMessagesPerFolderCountReceiveQuota Int32 This parameter is available only in on-premises Exchange.
-DumpsterMessagesPerFolderCountWarningQuota Int32 This parameter is available only in on-premises Exchange.
-ElcProcessingDisabled Boolean This parameter is available only in the cloud-based service.
-EmailAddressDisplayNames MultiValuedProperty This parameter is available only in the cloud-based service.
-EmailAddresses ProxyAddressCollection The EmailAddresses parameter specifies all email addresses (proxy addresses) for the recipient, including the primary SMTP address. In on-premises Exchange organizations, the primary SMTP address and other proxy...
-EmailAddressPolicyEnabled Boolean This parameter is available only in on-premises Exchange.
-EnableRoomMailboxAccount Boolean This parameter is functional only in on-premises Exchange.
-EndDateForRetentionHold DateTime The EndDateForRetentionHold parameter specifies the end date for retention hold for messaging records management (MRM). To use this parameter, you need to set the RetentionHoldEnabled parameter to the value $true.
-EnforcedTimestamps String This parameter is available only in the cloud-based service.
-ExcludeFromAllHolds SwitchParameter yes This parameter is available only in the cloud-based service.
-ExcludeFromAllOrgHolds SwitchParameter This parameter is available only in Exchange Online.
-ExcludeFromOrgHolds String[] This parameter is available only in Exchange Online.
-ExtendedPropertiesCountQuota Int32 This parameter is available only in on-premises Exchange.
-ExtensionCustomAttribute1 MultiValuedProperty This parameter specifies a value for the ExtensionCustomAttribute1 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. You...
-ExtensionCustomAttribute2 MultiValuedProperty This parameter specifies a value for the ExtensionCustomAttribute2 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. You...
-ExtensionCustomAttribute3 MultiValuedProperty This parameter specifies a value for the ExtensionCustomAttribute3 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. You...
-ExtensionCustomAttribute4 MultiValuedProperty This parameter specifies a value for the ExtensionCustomAttribute4 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. You...
-ExtensionCustomAttribute5 MultiValuedProperty This parameter specifies a value for the ExtensionCustomAttribute5 property on the recipient. You can use this property to store custom information about the recipient, and to identify the recipient in filters. You...
-ExternalOofOptions ExternalOofOptions The ExternalOofOptions parameter specifies the automatic replies or Out of Office (also known OOF) message options that are available for the mailbox. Valid values are:
-FolderHierarchyChildrenCountReceiveQuota Int32 This parameter is available only in on-premises Exchange.
-FolderHierarchyChildrenCountWarningQuota Int32 This parameter is available only in on-premises Exchange.
-FolderHierarchyDepthReceiveQuota Int32 This parameter is available only in on-premises Exchange.
-FolderHierarchyDepthWarningQuota Int32 This parameter is available only in on-premises Exchange.
-FoldersCountReceiveQuota Int32 This parameter is available only in on-premises Exchange.
-FoldersCountWarningQuota Int32 This parameter is available only in on-premises Exchange.
-Force SwitchParameter The Force switch hides warning or confirmation messages. You don't need to specify a value with this switch.
-ForwardingAddress RecipientIdParameter The ForwardingAddress parameter specifies a forwarding address in your organization for messages that are sent to this mailbox. You can use any value that uniquely identifies the internal recipient. For example:
-ForwardingSmtpAddress ProxyAddress The ForwardingSmtpAddress parameter specifies a forwarding SMTP address for messages that are sent to this mailbox. Typically, you use this parameter to specify external email addresses that aren't validated.
-GMGen Boolean This parameter is available only in on-premises Exchange.
-GrantSendOnBehalfTo MultiValuedProperty The GrantSendOnBehalfTo parameter specifies who can send on behalf of this mailbox. Although messages send on behalf of the mailbox clearly show the sender in the From field (`<Sender> on behalf of <Mailbox>`),...
-GroupMailbox MailboxIdParameter This parameter is available only in the cloud-based service.
-HiddenFromAddressListsEnabled Boolean The HiddenFromAddressListsEnabled parameter specifies whether this recipient is visible in address lists. Valid values are:
-IgnoreDefaultScope SwitchParameter This parameter is available only in on-premises Exchange.
-ImListMigrationCompleted Boolean This parameter is available only in on-premises Exchange.
-ImmutableId String The 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 when requesting...
-InactiveMailbox SwitchParameter This parameter is available only in the cloud-based service.
-IsExchangeCloudManaged Boolean yes This parameter is available only in the cloud-based service.
-IsExcludedFromServingHierarchy Boolean The IsExcludedFromServingHierarchy parameter prevents users from accessing the public folder hierarchy on this public folder mailbox. For load-balancing purposes, users are equally distributed across public folder...
-IsHierarchyReady Boolean This parameter is available only in on-premises Exchange.
-IsHierarchySyncEnabled Boolean This parameter is available only in on-premises Exchange.
-IssueWarningQuota Unlimited The IssueWarningQuota parameter specifies the warning threshold for the size of the mailbox. If the mailbox reaches or exceeds this size, the user receives a descriptive warning message.
-JournalArchiveAddress SmtpAddress This parameter is available only in the cloud-based service.
-Languages MultiValuedProperty The Languages parameter specifies the language preferences for this mailbox, in order of preference. Several Exchange components display information to a mailbox user in the preferred language, if that language is...
-LinkedCredential PSCredential This parameter is available only in on-premises Exchange.
-LinkedDomainController String This parameter is available only in on-premises Exchange.
-LinkedMasterAccount UserIdParameter This parameter is available only in on-premises Exchange.
-LitigationHoldDate DateTime The LitigationHoldDate parameter specifies the date that the mailbox is placed on litigation hold. The parameter is populated automatically when you place a mailbox on litigation hold. The date you specify can be...
-LitigationHoldDuration Unlimited The LitigationHoldDuration parameter specifies how long mailbox items are held if the mailbox is placed on litigation hold. The duration is calculated from the date a mailbox item is received or created.
-LitigationHoldEnabled Boolean The LitigationHoldEnabled parameter specifies whether to place the mailbox on litigation hold. Valid values are:
-LitigationHoldOwner String The LitigationHoldOwner parameter specifies the user who placed the mailbox on litigation hold. If you don't use this parameter when you place the mailbox on litigation hold, the value is populated automatically. If...
-MailboxMessagesPerFolderCountReceiveQuota Int32 This parameter is an available only in on-premises Exchange.
-MailboxMessagesPerFolderCountWarningQuota Int32 This parameter is an available only in on-premises Exchange.
-MailboxRegion String This parameter is available only in the cloud-based service.
-MailTip String The MailTip parameter specifies the custom MailTip text for this recipient. The MailTip is shown to senders when they start drafting an email message to this recipient. If the value contains spaces, enclose the value...
-MailTipTranslations MultiValuedProperty The MailTipTranslations parameter specifies additional languages for the custom MailTip text that's defined by the MailTip parameter. HTML tags are automatically added to the MailTip translation, additional HTML tags...
-ManagedFolderMailboxPolicy MailboxPolicyIdParameter This parameter is functional only in Exchange Server 2010.
-ManagedFolderMailboxPolicyAllowed SwitchParameter This parameter is functional only in Exchange Server 2010.
-Management Boolean This parameter is available only in on-premises Exchange.
-MaxBlockedSenders Int32 This parameter is available only in on-premises Exchange.
-MaxReceiveSize Unlimited The MaxReceiveSize parameter specifies the maximum size of a message that can be sent to the mailbox. Messages larger than the maximum size are rejected.
-MaxSafeSenders Int32 This parameter is available only in on-premises Exchange.
-MaxSendSize Unlimited The MaxSendSize parameter specifies the maximum size of a message that can be sent by the mailbox.
-MessageCopyForSendOnBehalfEnabled Boolean **Note**: Previously, this parameter was available only for shared mailboxes. In Exchange Online or Exchange 2016 CU6 or later, this parameter is also available for user mailboxes. This parameter is not available for...
-MessageCopyForSentAsEnabled Boolean **Note**: Previously, this parameter was available only for shared mailboxes. In Exchange Online or Exchange 2016 CU6 or later, this parameter is also available for user mailboxes. This parameter is not available for...
-MessageCopyForSMTPClientSubmissionEnabled Boolean This parameter is available only in the cloud-based service.
-MessageTracking Boolean This parameter is available only in on-premises Exchange.
-MessageTrackingReadStatusEnabled Boolean The MessageTrackingReadStatusEnabled parameter specifies whether to include detailed information in delivery reports for messages sent to the mailbox. Valid values are:
-MicrosoftOnlineServicesID SmtpAddress This parameter is available only in the cloud-based service.
-Migration Boolean This parameter is available only in on-premises Exchange.
-ModeratedBy MultiValuedProperty The ModeratedBy parameter specifies one or more moderators for this recipient. A moderator approves messages sent to the recipient before the messages are delivered. A moderator must be a mailbox, mail user, or mail...
-ModerationEnabled Boolean The ModerationEnabled parameter specifies whether moderation is enabled for this recipient. Valid value are:
-Name String The Name parameter specifies the unique name of the mailbox. The maximum length is 64 characters. If the value contains spaces, enclose the value in quotation marks (").
-NewPassword SecureString This parameter is available only in on-premises Exchange.
-NonCompliantDevices MultiValuedProperty This parameter is available only in the cloud-based service.
-OABGen Boolean This parameter is available only in on-premises Exchange.
-Office String The Office parameter specifies the user's physical office name or number.
-OfflineAddressBook OfflineAddressBookIdParameter This parameter is available only in on-premises Exchange.
-OldPassword SecureString This parameter is available only in on-premises Exchange.
-OMEncryption Boolean This parameter is available only in on-premises Exchange.
-OMEncryptionStore Boolean This parameter is available only in on-premises Exchange.
-Password SecureString The Password parameter resets the password of the user account that's associated with the mailbox to the value you specify. To use this parameter on a mailbox other than your own, consider the following options:
-PrimarySmtpAddress SmtpAddress This parameter is available only in on-premises Exchange.
-ProhibitSendQuota Unlimited The ProhibitSendQuota parameter specifies a size limit for the mailbox. If the mailbox reaches or exceeds this size, the mailbox can't send new messages, and the user receives a descriptive warning message.
-ProhibitSendReceiveQuota Unlimited The ProhibitSendReceiveQuota parameter specifies a size limit for the mailbox. If the mailbox reaches or exceeds this size, the mailbox can't send or receive new messages. Messages sent to the mailbox are returned to...
-ProvideConsent SwitchParameter This parameter is available only in the cloud-based service.
-ProvisionedForOfficeGraph SwitchParameter This parameter is available only in the cloud-based service.
-PstProvider Boolean This parameter is available only in on-premises Exchange.
-PublicFolder SwitchParameter The PublicFolder switch is required to modify public folder mailboxes. You don't need to specify a value with this switch.
-QueryBaseDN OrganizationalUnitIdParameter This parameter is available only in on-premises Exchange.
-RecalculateInactiveMailbox SwitchParameter yes This parameter is available only in the cloud-based service.
-RecipientLimits Unlimited The RecipientLimits parameter specifies the maximum number of recipients allowed in messages sent by the mailbox.
-RecoverableItemsQuota Unlimited This parameter is available only in on-premises Exchange.
-RecoverableItemsWarningQuota Unlimited This parameter is available only in on-premises Exchange.
-RejectMessagesFrom MultiValuedProperty The RejectMessagesFrom parameter specifies who isn't allowed to send messages to this recipient. Messages from these senders are rejected.
-RejectMessagesFromDLMembers MultiValuedProperty The RejectMessagesFromDLMembers parameter specifies who isn't allowed to send messages to this recipient. Messages from these senders are rejected.
-RejectMessagesFromSendersOrMembers MultiValuedProperty The RejectMessagesFromSendersOrMembers parameter specifies who isn't allowed to send messages to this recipient. Messages from these senders are rejected.
-RemoteRecipientType RemoteRecipientType This parameter is available only in on-premises Exchange.
-RemoveComplianceTagHoldApplied SwitchParameter yes This parameter is available only in the cloud-based service.
-RemoveDelayHoldApplied SwitchParameter yes This parameter is available only in the cloud-based service.
-RemoveDelayReleaseHoldApplied SwitchParameter yes This parameter is available only in the cloud-based service.
-RemoveDisabledArchive SwitchParameter yes This parameter is available only in the cloud-based service.
-RemoveMailboxProvisioningConstraint SwitchParameter This parameter is available only in the cloud-based service.
-RemoveManagedFolderAndPolicy SwitchParameter This parameter is available only in on-premises Exchange.
-RemoveOrphanedHolds String[] This parameter is available only in the cloud-based service.
-RemovePicture SwitchParameter This parameter is available only in on-premises Exchange.
-RemoveSpokenName SwitchParameter This parameter is available only in on-premises Exchange.
-RequireSenderAuthenticationEnabled Boolean The RequireSenderAuthenticationEnabled parameter specifies whether to accept messages only from authenticated (internal) senders. Valid values are:
-ResetPasswordOnNextLogon Boolean This parameter is available only in on-premises Exchange.
-ResourceCapacity Int32 The ResourceCapacity parameter specifies the capacity of the resource mailbox. For example, you can use this parameter to identify the number of seats in a conference room (room mailbox) or in a vehicle (equipment...
-ResourceCustom MultiValuedProperty The ResourceCustom parameter specifies one or more custom resource properties to add to the resource mailbox. You can use this parameter only on resource mailboxes.
-RetainDeletedItemsFor EnhancedTimeSpan The RetainDeletedItemsFor parameter specifies the length of time to keep soft-deleted items for the mailbox. Soft-deleted items are items that have been deleted by using any of these methods:
-RetainDeletedItemsUntilBackup Boolean This parameter is available only in on-premises Exchange.
-RetentionComment String The RetentionComment parameter specifies a comment that's displayed in Outlook regarding the user's retention hold status.
-RetentionHoldEnabled Boolean The RetentionHoldEnabled parameter specifies whether the mailbox is placed on retention hold. Placing the mailbox on retention hold temporarily suspends the processing of retention policies or managed folder mailbox...
-RetentionPolicy MailboxPolicyIdParameter The RetentionPolicy parameter specifies the retention policy that you want applied to this mailbox. You can use any value that uniquely identifies the policy. For example:
-RetentionUrl String The RetentionUrl parameter specifies the URL or an external web page with additional details about the organization's messaging retention policies.
-RoleAssignmentPolicy MailboxPolicyIdParameter The RoleAssignmentPolicy parameter specifies the role assignment policy that's assigned to the mailbox. You can use any value that uniquely identifies the role assignment policy. For example:
-RoomMailboxPassword SecureString This parameter is functional only in on-premises Exchange.
-RulesQuota ByteQuantifiedSize The RulesQuota parameter specifies the limit for the size of Inbox rules for the mailbox. When you enter a value, qualify the value with one of the following:
-SamAccountName String This parameter is available only in on-premises Exchange.
-SchedulerAssistant Boolean This parameter is available only in the cloud-based service.
-SCLDeleteEnabled Boolean This parameter is available only in on-premises Exchange.
-SCLDeleteThreshold Int32 This parameter is available only in on-premises Exchange.
-SCLJunkEnabled Boolean This parameter is available only in on-premises Exchange.
-SCLJunkThreshold Int32 This parameter is available only in on-premises Exchange.
-SCLQuarantineEnabled Boolean This parameter is available only in on-premises Exchange.
-SCLQuarantineThreshold Int32 This parameter is available only in on-premises Exchange.
-SCLRejectEnabled Boolean This parameter is available only in on-premises Exchange.
-SCLRejectThreshold Int32 This parameter is available only in on-premises Exchange.
-SecondaryAddress String This parameter is available only in on-premises Exchange.
-SecondaryDialPlan UMDialPlanIdParameter This parameter is available only in on-premises Exchange.
-SendModerationNotifications TransportModerationNotificationFlags The SendModerationNotifications parameter specifies when moderation notification messages are sent. Valid values are:
-SharingPolicy SharingPolicyIdParameter The SharingPolicy parameter specifies the sharing policy that's assigned to the mailbox. You can use any value that uniquely identifies the sharing policy. For example:
-SimpleDisplayName String The SimpleDisplayName parameter is used to display an alternative description of the object when only a limited set of characters is permitted. Valid characters are:
-SingleItemRecoveryEnabled Boolean The SingleItemRecoveryEnabled parameter specifies whether to prevent the Recoverable Items folder from being purged. Valid values are:
-SkipDualWrite SwitchParameter This parameter is available only in on-premises Exchange
-StartDateForRetentionHold DateTime The StartDateForRetentionHold parameter specifies the start date for the retention hold that's placed on the mailbox.
-StsRefreshTokensValidFrom DateTime This parameter is reserved for internal Microsoft use.
-SystemMessageSizeShutoffQuota Int64 This parameter is available only in on-premises Exchange.
-SystemMessageSizeWarningQuota Int64 This parameter is available only in on-premises Exchange.
-ThrottlingPolicy ThrottlingPolicyIdParameter This parameter is available only in on-premises Exchange.
-Type ConvertibleMailboxSubType The Type parameter specifies the mailbox type for the mailbox. Valid values are:
-UMDataStorage Boolean This parameter is available only in on-premises Exchange.
-UMDtmfMap MultiValuedProperty This parameter is available only in on-premises Exchange.
-UMGrammar Boolean This parameter is available only in on-premises Exchange.
-UniqueRecipientsCountLimitLevel UniqueRecipientsCountLimitLevelType This parameter is available only in the cloud-based service.
-UniqueUnrestrictedGroupsLimitEnabled Boolean This parameter is available only in the cloud-based service.
-UpdateEnforcedTimestamp SwitchParameter This parameter is available only in the cloud-based service.
-UseDatabaseQuotaDefaults Boolean The UseDatabaseQuotaDefaults parameter specifies whether applicable quotas for the mailbox are determined by the quota values on the mailbox or the corresponding quota values on the mailbox database (not all mailbox...
-UseDatabaseRetentionDefaults Boolean This parameter is functional only in on-premises Exchange.
-UserCertificate MultiValuedProperty The UserCertificate parameter specifies the digital certificate used to sign a user's email messages.
-UserPrincipalName String This parameter is available only in on-premises Exchange.
-UserSMimeCertificate MultiValuedProperty The UserSMimeCertificate parameter specifies the S/MIME certificate that's used to sign a user's email messages.
-WhatIf SwitchParameter The WhatIf switch shows what the command does without making any changes. You don't need to specify a value with this switch.
-WindowsEmailAddress SmtpAddress The WindowsEmailAddress parameter specifies the Windows email address for this recipient. This is a common Active Directory attribute that's present in all environments, including environments without Exchange. Using...

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.