Skip to content

Instantly share code, notes, and snippets.

@Erreinion
Created November 6, 2013 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Erreinion/7345817 to your computer and use it in GitHub Desktop.
Save Erreinion/7345817 to your computer and use it in GitHub Desktop.
#Exchange 2010
Set-CASMailbox -Identity <user> -OwaEnabled $false
Set-CASMailbox -Identity <user> -EwsEnabled $false
Set-CASMailbox -Identity <user> -EcpEnabled $false
Set-CASMailbox -Identity <user> -MapiEnabled $false
Set-CASMailbox -Identity <user> -MapiBlockOutlookRpcHttp $true
Set-CASMailbox -Identity <user> -EwsAllowOutlook $false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment