Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

get a list of recipients based on their domain suffix

$
0
0

Hello all

I am trying to get a list of users on our Exchange 2013 who have a certain domain in their "PrimarySmtpAddress" field. We have multiple acceptable domains and I want everyone using "example.com" in their main email address.

I have gotten very close and I can filter by identity like 

Get-Recipient -identity  *example_string* |ft displayname, primarysmtpaddress, 

but this just searches the display name, not the smtp address. Can one of you please help me out?

Best wishes

Nima


Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>