Set-MailUser

1st Microsoft Example

Set-MailUser -Identity <MailUserIdParameter> 
[-AcceptMessagesOnlyFrom <MultiValuedProperty>] 
[-AcceptMessagesOnlyFromDLMembers <MultiValuedProperty>] 
[-AcceptMessagesOnlyFromSendersOrMembers <MultiValuedProperty>] 
[-Alias <String>] 
[-ArbitrationMailbox <MailboxIdParameter>] 
[-ArchiveGuid <Guid>] 
[-ArchiveName <MultiValuedProperty>] 
[-ArchiveQuota <Unlimited>] 
[-ArchiveWarningQuota <Unlimited>] 
[-BypassLiveId <SwitchParameter>] 
[-BypassModerationFromSendersOrMembers <MultiValuedProperty>] 
[-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>] 
[-DisplayName <String>] 
[-DomainController <Fqdn>] 
[-EmailAddresses <ProxyAddressCollection>] 
[-EmailAddressPolicyEnabled <$true | $false>] 
[-EndDateForRetentionHold <DateTime>] 
[-ExchangeGuid <Guid>] 
[-ExtensionCustomAttribute1 <MultiValuedProperty>] 
[-ExtensionCustomAttribute2 <MultiValuedProperty>] 
[-ExtensionCustomAttribute3 <MultiValuedProperty>] 
[-ExtensionCustomAttribute4 <MultiValuedProperty>] 
[-ExtensionCustomAttribute5 <MultiValuedProperty>] 
[-ExternalEmailAddress <ProxyAddress>] 
[-FederatedIdentity <String>] 
[-ForceUpgrade <SwitchParameter>] 
[-GrantSendOnBehalfTo <MultiValuedProperty>] 
[-HiddenFromAddressListsEnabled <$true | $false>] 
[-IgnoreDefaultScope <SwitchParameter>] 
[-ImmutableId <String>] 
[-LitigationHoldDate <DateTime>] 
[-LitigationHoldEnabled <$true | $false>]
[-LitigationHoldOwner <String>] 
[-MacAttachmentFormat <BinHex | UuEncode | AppleSingle | AppleDouble>] 
[-MailTip <String>] 
[-MailTipTranslations <MultiValuedProperty>] 
[-MaxReceiveSize <Unlimited>] 
[-MaxSendSize <Unlimited>] 
[-MessageBodyFormat <Text | Html | TextAndHtml>] 
[-MessageFormat <Text | Mime>] 
[-ModeratedBy <MultiValuedProperty>] 
[-ModerationEnabled <$true | $false>] 
[-Name <String>] 
[-NetID <NetID>] 
[-Password <SecureString>] 
[-PrimarySmtpAddress <SmtpAddress>] 
[-RecipientLimits <Unlimited>] 
[-RejectMessagesFrom <MultiValuedProperty>] 
[-RejectMessagesFromDLMembers <MultiValuedProperty>] 
[-RejectMessagesFromSendersOrMembers <MultiValuedProperty>] 
[-RemovePicture <SwitchParameter>] 
[-RemoveSpokenName <SwitchParameter>] 
[-RequireSenderAuthenticationEnabled <$true | $false>] 
[-ResetPasswordOnNextLogon <$true | $false>] 
[-RetainDeletedItemsFor <EnhancedTimeSpan>] 
[-RetentionComment <String>] 
[-RetentionHoldEnabled <$true | $false>] 
[-RetentionUrl <String>] 
[-SamAccountName <String>] 
[-SecondaryAddress <String>] 
[-SecondaryDialPlan <UMDialPlanIdParameter>] 
[-SendModerationNotifications <Never | Internal | Always>] 
[-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>] 
[-UMDtmfMap <MultiValuedProperty>] 
[-UsageLocation <CountryInfo>] 
[-UseMapiRichTextFormat <Never | Always | UseDefaultSettings>] 
[-UsePreferMessageFormat <$true | $false>] 
[-UserPrincipalName <String>] 
[-WhatIf [<SwitchParameter>]] 
[-WindowsEmailAddress <SmtpAddress>] 
[-WindowsLiveID <SmtpAddress>] 
[<CommonParameters>]