Advertisement
goezler

Retrive and export all public folders permissions

Jul 24th, 2024
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Get-PublicFolder -Identity '\' -Recurse -ResultSize Unlimited | Get-PublicFolderClientPermission | Select Identity,FolderName,User,@{name="AccessRights";expression={ [string]::join(",",@($_.accessrights)) }} | Export-Csv -Path C:\Path-to-file.csv -Delimiter ';' -Encoding UTF8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement