Link to home
Start Free TrialLog in
Avatar of vmich
vmichFlag for United States of America

asked on

Way to search all users in exch 2016 for certain attribute values

Is there a way to search all users mailboxes in Exchange 2016 to see what values are set for the following items in the attributes that show up in the attribute editor

msexchrecipientdisplay type
msexchrecipient Type details
msexchremoterecipient type

Not sure if this can be done via PowerShell and if so, what is the command?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Rajkumar Duraisamy
Rajkumar Duraisamy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vmich

ASKER

Raj,
I ran your command but it doesn't show the 3 items that I requested above.
Am I doing something wrong or am I looking at the out put wrong?
You will the results like recipienttype, recipienttypedetails on the output..

RecipientType = msExchRecipientDisplayType
RecipientTypeDetails = msExchRecipientTypeDetails
RemoteRecipientType = msExchRemoteRecipientType

You will see the remote recipient type values when you have hybrid Exchange environmet.
Avatar of vmich

ASKER

Raj,
Sorry just getting back this.
But when I go into the attribute editor ADUC on a users I see the values like this:

msExchRecipientDisplayType
1073763981

msExchRecipientTypeDetails
1


msExchRemoteRecipientType
2

Now when I run the command you showed me, it does not display these items like this. Am I missing something with the command or the output?
Avatar of vmich

ASKER

Forget my last response I may have figured it out. My stupidity... :)
Avatar of vmich

ASKER

Raj,
This report is great now I have one more question..
Is there a way to generate a report with the same values from Active Directory so as not to use the Get-Mailbox command but a command to get the values from AD?