It's quick and dirty, but something like: PS > $st = Get-MailboxFolderStatistics -Identity a...@c.com PS > $st | % { Add-MailboxFolderPermission -Identity "a...@c.com:$($_.FolderPath.Replace('/', '\'))" -User ... -AccessRights ... }
seems like it might work. (I tested it with Get-MaiboxFolderPermission. I free-handed the Add-MFP, so you might want to double-check me.) --- Seth On Oct 26, 2011, at 10:39 AM, Sobey, Richard A wrote: > Hi all, > > What can I pipe into Add-MailboxFolderPermission to make it add an ACE to all > the folders in someone’s mailbox? I’m trying to add an ACE for my Director, > who has 1600 folders, without having to format a text file with > a...@c.com:\folderName. > > I was hoping Get-MailboxFolderstatistics | Add-MailboxFolderPermission would > do it, but it doesn’t. > > Has anyone done this before? > > Thanks > > Richard > --- > To manage subscriptions click here: > http://lyris.sunbelt-software.com/read/my_forums/ > or send an email to listmana...@lyris.sunbeltsoftware.com > with the body: unsubscribe exchangelist > --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist