Link to home
Start Free TrialLog in
Avatar of ex_ad
ex_adFlag for India

asked on

Need powershell command / script to get folder permissions for parent and nested public folders.

I am working on task of drawing public folders permissions to csv file.
However when i try to run the powershell command it gives me output only for parent folder and not for sub folders.
I need command / script to get details of all sub folders recursively.
Any help will be appreciated.
Avatar of Dale Harris
Dale Harris
Flag of United States of America image

Please post the script you're using and we'll be able to modify it for you.
Avatar of ex_ad

ASKER

Server Side : Get-PublicFolderItemStatistics -Identity "\Marketing\Reports" | Select Subject,LastModificationTime,HasAttachments,ItemType,MessageSize | Export-CSV C:\PFItemStats.csv


Client side : (Outlook 2007 )
“Get-PublicFolderClientPermission -Identity "\911" |Select user, Accessrights | Export-Csv C:\temp\PFPermissions1.csv “  

I guess we needto combine these two and create single one.
However any other options are welcome.
ASKER CERTIFIED SOLUTION
Avatar of Dale Harris
Dale Harris
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ex_ad

ASKER

Will check this and let you know.
Avatar of ex_ad

ASKER

We have derived output as mentioned below.

Identity      User      AccessRights

AccessRights = Microsoft.Exchange.Data.MultiValuedProperty`1[Microsoft.Exchange.Management.MapiTasks.PublicFolderAccessRight]

However Accessrights column does not include details like Owner , publisher, editor..etc.
Please let us know if you have any suggestions