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

Comments

  1. 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.

    ReplyDelete
  2. Also, these changes won't apply until you restart the exchange information store service.
    The store only reloads config information every 2 hours otherwise.

    ReplyDelete

Post a Comment

Popular posts from this blog

Change SMTP port 25 in Exchange 2007, 2010

How can you bypass sender or sender's domain in Exchange 2007 Content filter anti-spam agent

Error "<#5.5.2 smtp;554 5.5.2 Invalid data in message> #SMTP#" when you send attachment in your mail