This should locate the path for a specific email address that is a PF:

Get-MailPublicFolder [email protected] | Get-PublicFolderStatistics | select 
AdminDisplayName, FolderPath

-Aakash Shah

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Kurt Buff
Sent: Thursday, November 13, 2014 11:49 AM
To: [email protected]
Subject: [Exchange] Determining PF path from SMTP address

All,

Exchange 2010 - I've got a long list of SMTP addresses, of which many
are PFs, and I'm trying to figure out how to get the full path of the
PF, so that I can more easily find them.

I used this incantation to get all of the SMTP addresses on the server:

   'get-recipient -resultsize unlimited | select name -expand
emailaddresses | out-file -filepath c:\temp\out.txt -encoding ascii'

and then munged the list to get each name/address combo on a single
line, and then stripped all of the X400 and SIP addresses, which was
easy enough, but finding a particular PF among 17k of them is a bit
more challenging, especially since I'm sure I have more than one PF
named "2007", and one of them has the email address
"[email protected]".

If I had to guess, I would believe that I could do something with the
select phrase, but I'm not savvy enough to figure out how to get what
I want from that.

Anyone have a clue for me?

Kurt


Reply via email to