[Last Call] Learn how to a build a cloud-first strategyRegister Now


enumerate Exchange 2010 Email Enabled Public Folders

Posted on 2011-10-21
Medium Priority
Last Modified: 2012-05-12
I would like to produce a listing using PowerShell of Exchange 2010 email enabled public folders.  I can do this with this:

Get-MailPublicFolder | Select PrimarSmtpAddress, Identity

But I would like to get the folder and folder path like the results of this as well:

Get-PublicFolder -recurse

The end result would be only folders that are email enabled with this output:

Folder                                                            Email Address
Purchasing\Purchase Orders                         purchaseorders@acme.com

Question by:jlingg
  • 2
LVL 16

Accepted Solution

Madan Sharma earned 1500 total points
ID: 37007720
try this :- Get-MailPublicFolder | Format-Table Identity, WindowsEmailAddress
hope it will work for you

Author Comment

ID: 37007800
That does not do what I am looking for.  It produces a result like this:

identity                                                                                               Email
xxxx.com/Microsoft Exchange System Objects/Purchase Orders        PurchaseOrders@xxxx.com

It does not show the folder's location.  "mainFolder\subfolder1\purchase Orders"
The whole location of the folder is what you get when you use the -recurse option of Get-PublicFolder

Author Closing Comment

ID: 37256517
Only a part of the answer.  Did not produce the complete result.

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month17 days, 17 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question