You may use the script below in the Exchange Management Shell to list public folder permissions in Microsoft Exchange Server 2007.
This script will list a public folder and it’s subfolders in Microsoft Exchange 2007.
This script will automate the process of listing a public folder and it’s subfolders in Microsoft Exchange 2007.
Written by Noel Enrique Alvarez on Thursday, March 24, 2016.
#Request the Microsoft Exchange public folder
$Folder = Read-Host “What is the path to the Microsoft Exchange public folder?”
#List the Microsoft Exchange Server 2007 public folder and it’s subfolder
Get-PublicFolder –Identity $Folder -Recurse