Grant permissions in bulk for mailboxes
Hello everyone,
Can anyone help me out in granting full access permissions on all the user mail boxes for a service account? I did find the cmdlet Add-MailboxPermission, but I need to grant to a huge number of mail boxes.
-Sai
August 22nd, 2007 10:49am
I found an answer for this.Get-MailboxDatabase | Add-ADPermission -user <<appuser>> -accessRights GenericAll
Free Windows Admin Tool Kit Click here and download it now
August 24th, 2007 8:48am
You can run this command
Get-Mailbox -ResultSize unlimited |Add-MailboxPermission -AccessRights fullaccess -User <<serviceaccount>>
this will grant the service account fullmailbox access on current mailboxes, when you create more mailboxes you must run this command again so its not the ideal solution
August 25th, 2007 10:48am