ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    List All Public Folders in Exchange or Office 365 with PowerShell

    IT Discussion
    exchange office 365 o365 powershell get-publicfolder email public folder
    2
    2
    8.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Want to get a list of all of the public folders on your Exchange system, whether on premises or hosted, try this:

      Get-PublicFolder -Identity "\" -Recurse | Get-PublicFolderClientPermission | where{$_.Accessrights -eq "owner"}
      

      More on Get-PublicFolder from TechNet

      bbigfordB 1 Reply Last reply Reply Quote 2
      • bbigfordB
        bbigford @scottalanmiller
        last edited by bbigford

        @scottalanmiller said in List All Public Folders in Exchange or Office 365 with PowerShell:

        Want to get a list of all of the public folders on your Exchange system, whether on premises or hosted, try this:

        Get-PublicFolder -Identity "\" -Recurse | Get-PublicFolderClientPermission | where{$_.Accessrights -eq "owner"}
        

        More on Get-PublicFolder from TechNet

        That's pretty cool. I was wondering why you were piping into every owner since you could create public folders in Exchange without delegating owners, but then I had remembered you can create them on the client side as well after a root or folders are created in Exchange and added to the client, which is explained in your first pipe. Thanks for the note.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post