Ying Li at myITforum.com

PowerShell & System Center

PowerShell cmdlet to add mailbox permissions

As you may already be aware that in Exchange 2007, when you create a mailbox – by default only the owner has the permission and no body else and not even the administrator or the person who create the mailbox has any permission to it.

There is a PowerShell cmdlet can help us to add permission to mailbox:

 Add-MailboxPermission

Here is an example:

Add-MailboxPermission -Identity "John Doe" -User yli -Accessright Fullaccess -InheritanceType all

“John Doe” is the target mailbox user and yli here is the user account you want to grant permission to.

You can get more detailed information by doing

get-help Add-MailboxPermission -full

Posted: Feb 27 2008, 08:02 PM by yli628 | with 1 comment(s)
Filed under:

Comments

MichaelNaiman said:

Thanks for the tip! There is also a tool called security explorer for exchange that can do the same but much easier.  

The solution includes quite rich functionality for management exchange mailbox permssions as well as ntfs, sharepoint and sql security.

www.scriptlogic.com/.../exchange

# October 31, 2008 10:11 AM