I've spent hours trying to work this out myself but knowing nothing of PS, I'm going to use a lifeline.
I have one OU that has 150+ ConfRooms in it. ( get-mailboxfolderpermission -Identity first.last:\calendar works for one mailbox but not 100's )
I need to get mailbox folder permissions from the calendar of those ConfRoom's ( -OrganizationalUnit "OU=ROOMS,OU=MANAGEDRESOURCES,DC=CORP,DC=DOMAIN,DC=COM" )
I would like to pipe to csv ( -export-csv "c:\temp\MailBoxFolderPermissions.csv )
My goal is to get a list of folder permissions ( calendar ) to see if all have Default user assigned as Reviewer. If not, I'll need to update the mailboxes that are not set with default reviewer.
And maybe this is a silly question but is there a way to set the default reviewer at the Rooms OU level so that any mailbox created/moved into that OU gets the permissions?
I hope that makes sense.
Thanks in advance!