Hi,
I need to check the permission at mailbox folder levels (e.g inbox, sent items, custom created folders etc...) for all our mailboxes. How can I achieve same without running Get-FolderPermission for each folder of each mailbox?
T
Technology Tips and News
Hi,
I need to check the permission at mailbox folder levels (e.g inbox, sent items, custom created folders etc...) for all our mailboxes. How can I achieve same without running Get-FolderPermission for each folder of each mailbox?
T
Hello,
You can use:
$Mailbox = Get-Mailbox -resultsize unlimited | foreach {$Mailbox (Get-MailboxFolderPermission -identity $alias:\Inbox | select User, FolderName, AccessRight)}
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com
Thank you for the response. However this will get permission only for the inbox folder. I need the permission for the folders, even if the user have some custom folders?
Regards,
Irfan
Hello,
You can use get-mailboxstatistics to list all the users folder name in a variable and use foreach to list their permission.
For the detailed scripts, you can ask on Exchange Development Forum:
https://social.technet.microsoft.com/Forums/office/en-US/home?forum=exchangesvrdevelopment
Thanks, Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com