Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an Exchange (2010) mailbox that has 100+ folders. Each folder needs to be permissioned so that a certain AD security group has publishing editor rights. Is there a away to do mass permissioning or is it going to be a long day?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You should be able to use the Add-FolderPermissions Powershell cmdlet to set the permissions you need on each of your folders through Powershell. It offers no -Recurse option itself, but you could simply loop through Get-MailboxFolderStatistics' output to get all the folder names and feed them to Add-FolderPermissions as described here:

ForEach($f in (Get-MailboxFolderStatistics John | Where { $_.FolderPath.Contains("/Clients") -eq $True } ) ) {
$fname = "John:" + $f.FolderPath.Replace("/","\");
Add-MailboxFolderPermission $fname -User Jane -AccessRights Reviewer
}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.