Avatar of leop1212
leop1212
Flag for United States of America asked on

How to find mail enabled public folder or a mailbox with an with a certain email address?

I have an object in my exchange 2016 on premise server with email address test@mydomain.com
could you provide a cyntax on how I can find which object has this email address assigned -test@mydomain.com ?
Exchange

Avatar of undefined
Last Comment
Saif Shaikh

8/22/2022 - Mon
Saif Shaikh

Try below from EMS

get-mailpublicfolder "test@mydomain.com" | get-publicfolder
leop1212

ASKER
when I ran your command it returns me an error below
The operation couldn't be performed because object 'test@mydomain.com' couldn't be found on 'dccontroller.mydomain.com'.
    + CategoryInfo          : NotSpecified: (:) [Get-MailPublicFolder], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=EXCH2016,RequestId=2f671dbd-6436-47ab-a16e-0625504a6300,TimeStamp=12/10/2019 1
   :37:05 PM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] CC36F1DC,Microsoft.Exchange.Management.MapiT
  asks.GetMailPublicFolder
    + PSComputerName        : exch2016.mydomain.com

what is the syntax to check shared mailbox for such address?
ASKER CERTIFIED SOLUTION
Saif Shaikh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61