Last active
August 29, 2015 14:09
-
-
Save edingc/a6830d610a56a2cc5824 to your computer and use it in GitHub Desktop.
PoSh One-Liner to Export Top-Level Public Folders and Owners to CSV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-PublicFolder -Recurse | Where-Object { $PSItem.ParentPath -eq "\" } | Get-PublicFolderClientPermission | Where-Object { $PSItem.AccessRights -contains "Owner" } | Export-CSV .\PF_Owners.csv -NoTypeInformation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment