How to Use PowerShell Cmdlet Get-PublicFolderClientPermission For All Public Folders?

  author
Written By Ashwani Tiwari
Anuraag Singh
Approved By Anuraag Singh
Published On August 27th, 2022
Reading Time 4 Minutes Reading

Summary: In this article, we have provided information on how to use the Exchange PowerShell command i.e. get-publicfolderclientpermission for all public folders. Also, we have described EDB to PST Converter tool in case you have to export the offline or dismounted Exchange public folder to the Outlook PST file.

Numerous IT companies and other industry verticals use the Microsoft Exchange Server for business and communication purposes. All the Exchange data like – Private EDB file and Public EDB file is stored on the server.

Along with the private.edb file, the Exchange database public folder also plays an essential role in Exchange Server. It is specifically designed for shared access & provides an easy as well as an effective way to collect, share, and organize information with many people in the workgroup or organization.

The Exchange Public folder makes the content in the deep hierarchy which is easier to browse. You will view the complete hierarchy in Microsoft Outlook. It also helps them to find the content in which they are interested in. If one want to know the user permission for the particular folder, user have to use the Exchange PowerShell command i.e. Get-PublicFolderClientPermission.

Here, we will guide users to provide the complete information on how to use Get-PublicFolderClientPermission in detail.

View Exchange Public Folder Permission via EAC (Exchange Admin Center)

Follow the steps given below to view the Exchange database public folder permission:

1. Open EAC with Exchange administrator credentials

2. Select the Exchange Public Folders tab >> Click on public folders

public folder tab

3. Then click on the folder permissions to view the permissions on the Exchange database public folders

4. When the pop-up window appears>> you can see the public folder along with its permission level

Note: The sole downside of this solution is that users can view permission only single public folder at a time.

If users have numerous Exchange Public Folders then it would be a tedious job to get or verify the permission one by one. To avoid this cumbersome task users can use the PowerShell cmdlet which is mentioned below.

Use Get-PublicFolderClientPermission For All Public Folders

This Exchange PowerShell cmdlet allows users to retrieve the user permission for the Exchange public folder. Users can use this cmdlet on-premise Exchange Server 2010, 2013, 2016, 2019 and to the cloud-based services also. But some of the parameters, as well as settings, are exclusive to one environment and another.

Users have to verify the permission that is need to run the PowerShell cmdlet and it’s parameter. For that execute the following command which is given below:

Get-ManagementRole -Cmdlet Get-PublicFolderClientPermission

Get-ManagementRole -Cmdlet Get-PublicFolderClientPermission

Also, execute the cmdlet mentioned below to retrieve the information for all users of the \This Public Folder.

Get-PublicFolderClientPermission "\This Public Folder"

The example given below retrieves the permission of the Exchange database public folder i.e. This Public Folder for the user joey. Here in this particular example the output of the Get-PublicFolderClientPermission cmdlet is piped with the format-list cmdlet to display all the available information in the result.

Get-PublicFolderClientPermission -Identity "\This Public Folder" -User Joey | Format-List

Now users know how to use the Exchange PowerShell command: Get-PublicFolderClientPermission for all public folders. There are certain parameter available and users can use it with the given command.

Parameter Of Get-PublicFolderClientPermission Command

Get-PublicFolderClientPermission

[-Identity] <PublicFolderIdParameter>

[-DomainController <Fqdn>]

[-Server <ServerIdParameter>]

[-User <PublicFolderUserIdParameter>]

[-Mailbox <MailboxIdParameter>]

[<CommonParameters>]

What if any issue arises like Exchange Server crash, power outage, and much more. Then it is very important to take the backup of public folder to the Outlook PST file for the backup purpose. In case, if users lose pub.edb file data then the Outlook data file work as backup file, and users can import this file into the Exchange Server or MS Outlook to retrieve and access the data.

Note: As there is no manual solution that can help users to export EDB public folder. So, users can use the SysTools EDB to PST Converter Tool which supports Offline / dismounted Exchange database file (Public and Private) & used by non-technical as well as technical users to selective or bulk export Exchange public folder to PST file format in a simplified manner without using any command. This utility by default creates a UNICODE PST file.

Download purchase

Bringing It All Together

In this article, we have provide complete information on how to use the get-publicfolderclientpermission for all public folders Exchange PowerShell cmdlet to retrieve the users permission for the Exchange database public folder. If users want to export the offline / dismounted public.edb file of any size to the Outlook PST then they can use the advance solution that is mentioned in the above section.

  author

By Ashwani Tiwari

Being a Chief Technical Analyst, I am aware of the technicalities faced by the user while working with multiple technologies. So, through my blogs and articles, I love to help all the users who face various challenges while dealing with technology.