Friday, June 29, 2007

How to add mailbox permissions in Exchange Management Shell

One of the first things people ask me after the transition to Exchange 2007 is "How can I add some permissions to the user's mailbox?" There are a lot of documents on Microsoft's TechNet for Exchange 2007 but sometimes it makes you confused trying to find simple commands in all those documents.
So here is the command you use to add mailbox permissions:

Add-MailboxPermission -Identity "Some User" -User DusanK -Accessright Fullaccess -InheritanceType all

To this point everything is more or less clear but people find it hard to find more parameters for -Accessright, which is actually the most important part of the command. Here they are:

  • FullAccess
  • SendAs
  • ExternalAccount
  • DeleteItem
  • ReadPermission
  • ChangePermission
  • ChangeOwner

Reference article: http://technet.microsoft.com/en-us/library/a9aacbf5-5e6c-47ef-95d6-e24547e95d01.aspx

1 comments:

James Gibson said...

There is also a new solution called security explorer for exchange that can does the same much more easier.

It also allows for permissions backup and cloning.