Commands › Exchange Online
Set-Mailbox
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)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.