How to get mailbox folder permissions to all mailbox folders in all mailboxes?
Is it possible and how do you do it?
I would like to be able to get mailbox folder permissions to all mailbox folders in all mailboxes. For example who has access to what. Get-mailbox, Get-MailboxFolder,
and Get- MailboxFolderPermissions are all very simple commands but have proven a little tricky when combining.
I thought there could be something like Get-Mailbox and then foreach get-mailboxfolders piped to get-mailboxfolderpermissions, but that didn’t pan out.
Also at the same time, it would be great to thin out the Defaults and Anonymous's.
Any thought would be appreciated.
Thanks…
January 9th, 2012 5:01pm
Hi to all
I want to leave a note here
1) Thanks for the Script it helped me out a lot in investigation about my Quest
Listing all Folders for all Mailboxes and retrieve the ACL for every Mailbox Folder
I had problems with the -replace Part ,
We have a customer with multicultural Users using all kinds of char.
in the Foldersructur also a "/" so the "Folder Path"Replace went wrong very often.
The solution i want to share with you........
it is possible to use the EX-powershell command as follows:
ALIAS:FOLDER-ID
get-mailboxfolderPermission john.doe:2109230873462571534946504362
with that in mind i could write a short script that loops through
But you have to Pass it 2 Strings! First is $A=alias +":" $F=FOLDERID
if you pass them all in one VAR or Sting or like $A:$B it fails it hase to be $A$B
each mailbox --> /each folder FolderID /User, Access Rights ->> Output to Screen/File
Best Regards
ManfredManfred Preissner MSCA-Exchange-2003/MCSE-2003 MCTS-Exchange2007 Danube Data Center Vienna\Austria
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2012 10:32am