Home > Exchange 2007 > EdExchange 2007: Find the Path to a Mail Enabled Public Folder

EdExchange 2007: Find the Path to a Mail Enabled Public Folder

As many Exchange administrators know when dealing with large companies, trying to track down the path of a mail enabled public folder can be a challenge.  This is especially true if you have large Public Folder implementations.  Active Directory UAC or Exchange System Objects does not show the path, but on the CN and other AD attributes.   Using the Exchange 2007 Public Folder tools is also a slow and painful process.  In order to over come this, I have written a small script to dump the Public Folder name and path or each object and child object in the hierarchy.

Get-PublicFolder -Recurse | Format-Table -AutoSize -Property Name,ParentPath| out-string -width 4096 | out-file c:\PF-Path.txt

Arts & Science \Contoso\Departments\Accounting Services\Divisions
Activity Codes \Fabrika\Departments\Accounts Payable
Arts and Sciences \Fabrika\Departments
FASAP Quarantine \Contoso\Departments\IT\Email\SBP3
FASC Announcements \Contoso\Departments\Support Center
FASC Staff \Contoso\Departments\Support Center Calls
ASIA Market Info \Fabrika\Departments\Language Services

Note: The out-string –width 4096 variable allows for the entire path to be listed and not just the truncated output.   (For example: \Contoso\Departments\Accou……………….)

Best of Luck,

Ed McKinzie

Advertisements
Categories: Exchange 2007
  1. AJ
    September 19, 2012 at 2:50 PM

    Yeah, that rocks. Thank you.

  1. No trackbacks yet.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: