leop1212
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 ?
could you provide a cyntax on how I can find which object has this email address assigned -test@mydomain.com ?
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], ManagementObjectNotFoundEx ception
+ FullyQualifiedErrorId : [Server=EXCH2016,RequestId =2f671dbd- 6436-47ab- a16e-06255 04a6300,Ti meStamp=12 /10/2019 1
:37:05 PM] [FailureCategory=Cmdlet-Ma nagementOb jectNotFou ndExceptio n] CC36F1DC,Microsoft.Exchang e.Manageme nt.MapiT
asks.GetMailPublicFolder
+ PSComputerName : exch2016.mydomain.com
what is the syntax to check shared mailbox for such address?
The operation couldn't be performed because object 'test@mydomain.com' couldn't be found on 'dccontroller.mydomain.com
+ CategoryInfo : NotSpecified: (:) [Get-MailPublicFolder], ManagementObjectNotFoundEx
+ FullyQualifiedErrorId : [Server=EXCH2016,RequestId
:37:05 PM] [FailureCategory=Cmdlet-Ma
asks.GetMailPublicFolder
+ PSComputerName : exch2016.mydomain.com
what is the syntax to check shared mailbox for such address?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
get-mailpublicfolder "test@mydomain.com" | get-publicfolder