Quick PowerShell 32

For this Quick PowerShell post I wanted to share a little deep dive into Modern Public Folders (Exchange 2013 – 2019). In sharing this, I wanted to expose some of the properties of Public Folders that you may not have known were exposed with PowerShell and can only be seen in the GUI.

Finding the Primary Hierarchy Holder

One of the most important roles in Modern Public Folders is the folder with the Primary Hierarchy. This is one role that cannot be transferred either (ref article – Introduction to Public Folder Hierarchy Sync ). It is highly recommended that this Public Folder is placed on a database that is replicated to another server in a Database Availability Group (DAG).

In the GUI Interface

On an Exchange Server, we can find this mailbox by opening up the Exchange Admin Center (EAC), go to Public Folders and Public Folder Mailboxes:


PowerShell reveals all, right? If you know where to look, then yes it can do that.

Get-Mailbox -PublicFolder | Ft IsRootPublicFolderMailbox

Which would reveal something like this:

Now you have two ways to validate the location of this important part of Public Folders.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s