Set-CASMailbox

1st Microsoft Example

Set-CASMailbox -Identity <MailboxIdParameter> 
[-ActiveSyncAllowedDeviceIDs <MultiValuedProperty>] 
[-ActiveSyncBlockedDeviceIDs <MultiValuedProperty>] 
[-ActiveSyncDebugLogging <$true | $false>] 
[-ActiveSyncEnabled <$true | $false>]
[-ActiveSyncMailboxPolicy <MailboxPolicyIdParameter>] 
[-Confirm [<SwitchParameter>]] 
[-DisplayName <String>] 
[-DomainController <Fqdn>] 
[-ECPEnabled <$true | $false>] 
[-EmailAddresses <ProxyAddressCollection>] 
[-EmwsEnabled <$true | $false>] 
[-EwsAllowEntourage <$true | $false>] 
[-EwsAllowList <MultiValuedProperty>] 
[-EwsAllowMacOutlook <$true | $false>] 
[-EwsAllowOutlook <$true | $false>] 
[-EwsApplicationAccessPolicy <EnforceAllowList | EnforceBlockList>] 
[-EwsBlockList <MultiValuedProperty>] 
[-EwsEnabled <$true | $false>] 
[-HasActiveSyncDevicePartnership <$true | $false>] 
[-IgnoreDefaultScope <SwitchParameter>] 
[-ImapEnabled <$true | $false>] 
[-ImapEnableExactRFC822Size <$true | $false>] 
[-ImapMessagesRetrievalMimeFormat <TextOnly | HtmlOnly 
| HtmlAndTextAlternative | TextEnrichedOnly | TextEnrichedAndTextAlternative 
| BestBodyFormat | Tnef>] 
[-ImapSuppressReadReceipt <$true | $false>] 
[-ImapUseProtocolDefaults <$true | $false>] 
[-MAPIBlockOutlookNonCachedMode <$true | $false>] 
[-MAPIBlockOutlookRpcHttp <$true | $false>] 
[-MAPIBlockOutlookVersions <String>] 
[-MAPIEnabled <$true | $false>] 
[-Name <String>] 
[-OWAEnabled <$true | $false>] 
[-OwaMailboxPolicy <MailboxPolicyIdParameter>] 
[-PopEnabled <$true | $false>] 
[-PopEnableExactRFC822Size <$true | $false>] 
[-PopMessagesRetrievalMimeFormat <TextOnly | HtmlOnly 
| HtmlAndTextAlternative | TextEnrichedOnly 
| TextEnrichedAndTextAlternative | BestBodyFormat | Tnef>] 
[-PopSuppressReadReceipt <$true | $false>] 
[-PopUseProtocolDefaults <$true | $false>] 
[-PrimarySmtpAddress <SmtpAddress>] 
[-SamAccountName <String>] 
[-ShowGalAsDefaultView <$true | $false>] 
[-WhatIf [<SwitchParameter>]] 
[<CommonParameters>]