Forum Discussion
Batuctm
Feb 22, 2022Copper Contributor
Unable to export all public folder permissions to .CSV
Hello, I've been trying to export a list of every single public folder user's permission to a csv file. Its successful when I use : get-publicfolder -recurse | get-publicfolderclientpermissi...
VasilMichev
Feb 22, 2022MVP
If you are only interested in getting the permissions for a single user, use the following format:
Get-PublicFolder -Recurse | Get-PublicFolderClientPermission -User vasil
Might want to check any Default entries too, I suppose. And add the -ResultSize switch. Or better yet, use a full-blown script instead of one-liner.
Get-PublicFolder -Recurse | Get-PublicFolderClientPermission -User vasil
Might want to check any Default entries too, I suppose. And add the -ResultSize switch. Or better yet, use a full-blown script instead of one-liner.
Batuctm
Feb 23, 2022Copper Contributor
VasilMichev thanks but I've already tried that and it doesn't work. No matter what I add to the script it keeps returning that error:
- VasilMichevFeb 23, 2022MVPThat's why I mentioned that you'd be better off running a full-blown script instead of using the pipeline. Get a list of all the PFs, iterate over them and check the permissions, catch any errors and add proper handling to continue in the event of session disconnect.