Article ID: 128892, created on May 27, 2016, last review on Jun 3, 2016

  • Applies to:
  • Operations Automation

In Exchange 2013, the public folders are stored in public folder mailboxes. For large Exchange deployments with a large number of mailboxes and public folders, Microsoft reccomends creating two types of public folder mailboxes: hierarchy public folder mailboxes to provides public folder hierarchy information to the end users, and content public folder mailboxes to store public folder content.

This article contains script which helps configuring public folder mailboxes on Exchange 2013. The script configures the root public folder mailbox and the requested number of hierarchy and content public folder mailboxes. Note that this script can be executed before or after registering Exchange 2013 nodes in Odin Automation.

To configure the Exchange public folder mailboxes:

  1. Log on to any Exchange mailbox server as a member of the Domain Administrators group.
  2. Download the CreatePFMailboxes.zip archive and unpack it to the local directory.
  3. Open "Exchange Management Shell".
  4. Go to the directory where the script was unpacked on step 2.
  5. Launch the CreatePFMailboxes.ps1 script with the disared parameters (see below) to configure public folder mailboxes. For example, launch the following command to configure public folder mailboxes on a new Exchange installation:

    ./CreatePFMailboxes.ps1 -Database <DATABASE> -AuthoritativeDomain <DEFAULT_DOMAIN>
    

    Script with the provided parameters will create a root public folder mailbox, two hierarchy public folder mailboxes (PublicFolderHierarchy01, PublicFolderHierarchy02) and two content public folder mailboxes (PublicFolderContent01, PublicFolderContent02).

    Full list of script parameters:

    Database (required) - mailbox database where new public folder mailboxes will be created.

    HierarchyMailboxCount (optional) - number of hierarchy public folder mailboxes which will be created by the script (default value: 2).

    HierarchyMailboxNamePrefix (optional) - prefix which will be used to generate names for new hierarchy public folder mailboxes (default value: PublicFolderHierarchy).

    HierarchyMailboxNameStartIndex(optional) - start index which will be used to generate names for hierarchy public folder mailboxes (default value: 1).

    ContentMailboxCount (optional)- number of content public folder mailboxes which will be created by the script (default value: 2).

    ContentMailboxNamePrefix (optional) - prefix which will be used to generate names for new content public folder mailboxes (default value: PublicFolderContent).

    ContentMailboxNameStartIndex(optional) - start index which will be used to generate names for content public folder mailboxes (default value: 1).

    AuthoritativeDomain (required if HierarchyMailboxCount > 0, and optional otherwise) - any provider domain with the configured Autodiscover. Autodiscover should point to Exchange 2013 installation, where a new public folder mailbox will be located. This domain will be used to generate email for hierarchy public folder mailboxes.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF