how to add mailbox permission to entire exchange 2007 server

Tim Lewis
Tim Lewis used Ask the Experts™
on
I need to add mailbox permissions to everyone in our company so that the directors group that we have will have the ability to access anyones calendar.  They have always been able to go to calendar and choose open shared calendar and select any user they want.  Once moved to exchange 2007 from 2003 they are no longer able to do this.  What is the best way to get this corrected to the way it was.
Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Expert of the Quarter 2009
Expert of the Year 2009

Commented:
You cannot set a permission on a specific folder centrally. That applies to both Exchange 2003 and Exchange 2007. Therefore if the permission wasn't set at the folder level in Outlook, those users must have had full mailbox access.

This can be set globally using the command below.
The "director" could be replaced with a group, even though it says "User".

get-mailbox | Add-MailboxPermission "User" -AccessRights FullAccess -user "Director"

However as it will allow access to the entire mailbox, not just the folder, you need to ensure that your privacy policies allow that access. Being Owner or Director of the business does not override the law on privacy.

Simon.
Tim LewisNetwork Manager

Author

Commented:
Just to be clear, if I want to set this globally, and the group name is 'Directors group"   I would run -
get-mailbox | Add-MailboxPermission "User" -AccessRights FullAccess -user "Directors group"?  It's that simple?  I don't specify anything for "user", i just type it just as listed here?
Expert of the Quarter 2009
Expert of the Year 2009
Commented:
Opps, I made a typo there.
Cut and pasted a script and forgot to remove part.

get-mailbox | Add-MailboxPermission -AccessRights FullAccess -user "Directors group"?  

You don't have the first user because that is what get-mailbox is doing for you.

Simon.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial