Set-Mailbox

1st Microsoft Example

Set-Mailbox -Identity <MailboxIdParameter> 
[-AcceptMessagesOnlyFrom <MultiValuedProperty>] 
[-AcceptMessagesOnlyFromDLMembers <MultiValuedProperty>] 
[-AcceptMessagesOnlyFromSendersOrMembers <MultiValuedProperty>] 
[-AddressBookPolicy <AddressBookMailboxPolicyIdParameter>] 
[-Alias <String>] 
[-AntispamBypassEnabled <$true | $false>] 
[-ApplyMandatoryProperties <SwitchParameter>] 
[-Arbitration <SwitchParameter>] 
[-ArbitrationMailbox <MailboxIdParameter>] 
[-ArchiveDatabase <DatabaseIdParameter>] 
[-ArchiveDomain <SmtpDomain>] 
[-ArchiveName <MultiValuedProperty>] 
[-ArchiveQuota <Unlimited>] 
[-ArchiveStatus <None | Active>] 
[-ArchiveWarningQuota <Unlimited>] 
[-AuditAdmin <MultiValuedProperty>] 
[-AuditDelegate <MultiValuedProperty>] 
[-AuditEnabled <$true | $false>] 
[-AuditLogAgeLimit <EnhancedTimeSpan>] 
[-AuditOwner <MultiValuedProperty>] 
[-BypassLiveId <SwitchParameter>] 
[-BypassModerationFromSendersOrMembers <MultiValuedProperty>] 
[-CalendarRepairDisabled <$true | $false>] 
[-CalendarVersionStoreDisabled <$true | $false>] 
[-Confirm [<SwitchParameter>]] 
[-CreateDTMFMap <$true | $false>] 
[-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>] 
[-DeliverToMailboxAndForward <$true | $false>] 
[-DisplayName <String>] 
[-DomainController <Fqdn>] 
[-DowngradeHighPriorityMessagesEnabled <$true | $false>] 
[-EmailAddresses <ProxyAddressCollection>] 
[-EmailAddressPolicyEnabled <$true | $false>] 
[-EndDateForRetentionHold <DateTime>] 
[-EvictLiveId <SwitchParameter>] 
[-ExtensionCustomAttribute1 <MultiValuedProperty>] 
[-ExtensionCustomAttribute2 <MultiValuedProperty>] 
[-ExtensionCustomAttribute3 <MultiValuedProperty>] 
[-ExtensionCustomAttribute4 <MultiValuedProperty>] 
[-ExtensionCustomAttribute5 <MultiValuedProperty>] 
[-ExternalOofOptions <InternalOnly | External>]
[-FederatedIdentity <String>] 
[-Force <SwitchParameter>] 
[-ForwardingAddress <RecipientIdParameter>] 
[-ForwardingSmtpAddress <ProxyAddress>] 
[-GrantSendOnBehalfTo <MultiValuedProperty>] 
[-HiddenFromAddressListsEnabled <$true | $false>] 
[-IgnoreDefaultScope <SwitchParameter>] 
[-ImmutableId <String>] 
[-IssueWarningQuota <Unlimited>] 
[-Languages <MultiValuedProperty>] 
[-LinkedCredential <PSCredential>] 
[-LinkedDomainController <String>] 
[-LinkedMasterAccount <UserIdParameter>] 
[-LitigationHoldDate <DateTime>] 
[-LitigationHoldEnabled <$true | $false>] 
[-LitigationHoldOwner <String>] 
[-MailboxPlan <MailboxPlanIdParameter>] 
[-MailTip <String>] 
[-MailTipTranslations <MultiValuedProperty>] 
[-ManagedFolderMailboxPolicy <MailboxPolicyIdParameter>] 
[-ManagedFolderMailboxPolicyAllowed <SwitchParameter>] 
[-MaxBlockedSenders <Int32>] 
[-MaxReceiveSize <Unlimited>] 
[-MaxSafeSenders <Int32>] 
[-MaxSendSize <Unlimited>] 
[-MessageTrackingReadStatusEnabled <$true | $false>] 
[-ModeratedBy <MultiValuedProperty>] 
[-ModerationEnabled <$true | $false>] 
[-Name <String>] 
[-NetID <NetID>] 
[-Office <String>] 
[-OfflineAddressBook <OfflineAddressBookIdParameter>]
[-Password <SecureString>] 
[-PrimarySmtpAddress <SmtpAddress>] 
[-ProhibitSendQuota <Unlimited>] 
[-ProhibitSendReceiveQuota <Unlimited>] 
[-QueryBaseDNRestrictionEnabled <$true | $false>] 
[-RecipientLimits <Unlimited>] 
[-RecoverableItemsQuota <Unlimited>] 
[-RecoverableItemsWarningQuota <Unlimited>] 
[-RejectMessagesFrom <MultiValuedProperty>] 
[-RejectMessagesFromDLMembers <MultiValuedProperty>] 
[-RejectMessagesFromSendersOrMembers <MultiValuedProperty>] 
[-RemoteAccountPolicy <RemoteAccountPolicyIdParameter>] 
[-RemoteRecipientType <None | ProvisionMailbox | ProvisionArchive 
| Migrated | DeprovisionMailbox | DeprovisionArchive | RoomMailbox 
| EquipmentMailbox | SharedMailbox>] 
[-RemoveManagedFolderAndPolicy <SwitchParameter>] 
[-RemovePicture <SwitchParameter>] 
[-RemoveSpokenName <SwitchParameter>]
[-RequireSecretQA <$true | $false>] 
[-RequireSenderAuthenticationEnabled <$true | $false>] 
[-ResetPasswordOnNextLogon <$true | $false>] 
[-ResourceCapacity <Int32>] 
[-ResourceCustom <MultiValuedProperty>] 
[-RetainDeletedItemsFor <EnhancedTimeSpan>] 
[-RetainDeletedItemsUntilBackup <$true | $false>] 
[-RetentionComment <String>] 
[-RetentionHoldEnabled <$true | $false>] 
[-RetentionPolicy <MailboxPolicyIdParameter>] 
[-RetentionUrl <String>] 
[-RoleAssignmentPolicy <MailboxPolicyIdParameter>] 
[-RulesQuota <ByteQuantifiedSize>] 
[-SamAccountName <String>] 
[-SCLDeleteEnabled <$true | $false>] 
[-SCLDeleteThreshold <Int32>] 
[-SCLJunkEnabled <$true | $false>] 
[-SCLJunkThreshold <Int32>] 
[-SCLQuarantineEnabled <$true | $false>] 
[-SCLQuarantineThreshold <Int32>] 
[-SCLRejectEnabled <$true | $false>] 
[-SCLRejectThreshold <Int32>] 
[-SecondaryAddress <String>] 
[-SecondaryDialPlan <UMDialPlanIdParameter>] 
[-SendModerationNotifications <Never | Internal | Always>] 
[-SharingPolicy <SharingPolicyIdParameter>] 
[-SimpleDisplayName <String>] 
[-SingleItemRecoveryEnabled <$true | $false>] 
[-SKUAssigned <$true | $false>] 
[-SKUCapability <None | BPOS_S_Deskless | BPOS_S_Standard 
| BPOS_S_Enterprise | BPOS_S_Archive | BPOS_L_Standard 
| BPOS_B_Standard | TOU_Signed | FederatedUser 
| Partner_Managed | MasteredOnPremise | ResourceMailbox 
| ExcludedFromBackSync | UMFeatureRestricted | RichCoexistence>] 
[-StartDateForRetentionHold <DateTime>] 
[-ThrottlingPolicy <ThrottlingPolicyIdParameter>] 
[-Type <Regular | Room | Equipment | Shared>] 
[-UMDtmfMap <MultiValuedProperty>] 
[-UsageLocation <CountryInfo>] 
[-UseDatabaseQuotaDefaults <$true | $false>] 
[-UseDatabaseRetentionDefaults <$true | $false>] 
[-UserCertificate <MultiValuedProperty>] 
[-UserPrincipalName <String>] 
[-UserSMimeCertificate <MultiValuedProperty>] 
[-WhatIf [<SwitchParameter>]] 
[-WindowsEmailAddress <SmtpAddress>] 
[-WindowsLiveID <SmtpAddress>] 
[<CommonParameters>]