I was asked how can we export Public Folder Permission including each nested folder to a CSV or TEXT File before restrict the users? And is there a way to re-assign the same permission to the particular Public Folder in the future?

 

This is very much achievable. Please follow below solution.  

 

Get-PublicFolderClientPermission:

Get-PublicFolder \ -Recurse | Get-PublicFolderClientPermisssion | Select-Object Identity,@{Expression={$_.User};Label="User";},@{Expression={$_.AccessRights};Label="AccessRights";} | Export-Csv C:\PublicFolderClientPermission.csv

 

 

Get-PublicFolderAdministrativePermission:

Get-PublicFolder \ -Recurse | Get-PublicFolderAdministrativePermission| Select-Object Identity,@{Expression={$_.User};Label="User";},@{Expression={$_.AccessRights};Label="AccessRights";},IsInherited,Deny | Export-Csv C:\PublicFolderAdministrativePermission.csv

 

 

Add-PublicFolderClientPermission - http://technet.microsoft.com/en-in/library/bb124743(v=exchg.150).aspx

Add-PublicFolderAdministrativePermission - http://technet.microsoft.com/en-in/library/aa997986(v=exchg.80).aspx

 

Thank you,

Mukut-