exchange 2010 SP1 question - how can i grant full mailbox acces for one account to all mailboxes on a database?

can someone provide the EMS command to grant an administrator account full mailbox access to all mailboxes on an Exchange 2010 database?

thanks in advance,

Who is Participating?
AshwinRaj111Connect With a Mentor Commented:
That is right. If you want to grant the FullAccess to a particular Mailbox Database then the above command should be run.

Nope, you would have to run the command again after you move the users to this Mailbox Database.
The command pulls out only the existing users from that Database and give Full Access to them.
So every time we move a user to this Database the command should be run again.

Get-Mailbox | Add-MailboxPermission -identity "Admin Account Name" -AccessRights FullAccess
siber1Author Commented:
ashwin, i think this is the command i need:
get-mailboxdatabase "mailbox database dbname" | get-mailbox | add-mailboxpermission -user loginIDofuser -accessrights fullaccess -inheritancetype all

this sets it for all current mailboxes on the database, is there a way to have it also apply for any future mailboxes we moved to 2010?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.