locate a public folder that associate with a specific SMTP address.

Hello,

We are on Exchange 2010

We have a SMTP address which is associated with a public folder or a subfolder.  In the past two days, we have been trying to locate it but no luck.

If someone has an idea, please advice.

Thanks.
nav2567Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SubsunCommented:
Try..
Get-MailPublicFolder folder@domain.com | Get-PublicFolder

Open in new window

Replace folder@domain.com with your PF smtp address..
0
nav2567Author Commented:
I am getting this when I run the command from my Exchange on-prem:

[PS] C:\Windows\system32>Get-MailPublicFolder survey@xyz.com
The operation couldn't be performed because object 'survey@xyz.com' couldn't be found on 'dcserver1.mydomain.com'.
    + CategoryInfo          : NotSpecified: (:) [Get-MailPublicFolder], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : 487376B4,Microsoft.Exchange.Management.MapiTasks.GetMailPublicFolder

I am getting this when I run it from a O365 PS windows

Cannot process argument transformation on parameter 'Identity'. Cannot convert
value "survey" to type "Microsoft.Exchange.Configuration.Tasks.PublicFolderId
Parameter". Error: "The value provided for parameter "Feedback" isn't in the co
rrect format. The correct format is "<OrganizationName>\\<FolderPath>"."
    + CategoryInfo          : InvalidData: (Feedback:PSObject) [Get-PublicFold
   er], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-PublicF
   older

Our public folder is still on-prem.

Thanks.
0
SubsunCommented:
Are you getting a result for
get-recipient survey@xyz.com

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SubsunCommented:
The operation couldn't be performed because object 'survey@xyz.com' couldn't be found on 'dcserver1.mydomain.com'.
Did you get a chance to test the command? If it still return same error that means the email address doesn't exist in the organization..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.