Exchange – List all e-mail addresses on domain

Listing all e-mail addresses for a domain on an Exchange server. It’s pretty easy from Powershell but it took me a while to figure out so I thought I would share it.

[ps]get-recipient | where {$_.emailaddresses -match “<domain>”} | fl name,emailaddresses >> c:addresses.txt[/ps]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: