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?
1 Answer
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
}