Access to multiple mailboxes via Powershell
Hi
I have an application account, domain\App1, that needs to have full mailbox access to about 300 mailboxes. We have the list of mailboxes in a CSV file, but does anyone know a Powershell command we can use that will automatically script this access? My PS
isn't that great :(
May 14th, 2011 10:03am
It depends on what you need to do with the 300 mailboxes.
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2011 12:11pm
Use Import-CSV and run a loop for each entry in which you apply the rights. The format will be something like this:
$Mailboxes = Import-CSV ...
ForEach ($Mailbox In $Mailboxes) {
Add-ADPermission -Identity $Mailbox.Identity ...
}
The rest is left as an exercise for the reader.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
May 14th, 2011 12:12pm