I'm trying to pull information from our public folders using PowerShell to determine who has permissions and who has client permission on each of them. However I keep running into problems, below is what I'm trying to do and then my cmdlet that is currently failing.
I want to be able to grab all public folders, show it's Identity, then grab that public folders Admin Permission Users and list those, then grab that public folders Client Permission User and AccessRights and list those... then move onto the next Public folder and do the same thing. Any help is greatly appreciated!
Get-PublicFolder -Recurse | Format-List Identity | Get-PublicFolderAdministrativePermission -Identity * | Format-List User | Get-PublicFolderClientPermission -Identity * | Format-List User,AccessRights >c:\admin\PublicFoldersInfo.txt