Exchange Powershell: Find attached account with E-Mail address

by butsch 8. May 2014 16:09

How to list all E-Mail address in an Exchange Environment which contains:

info@

Write to console:

Get-Recipient -resultSize unlimited | select name -expand emailAddresses | where {$_.smtpAddress -match ".*info@.*"} | Format-Table name, smtpaddress

Write to file:

Get-Recipient -resultSize unlimited | select name -expand emailAddresses | where {$_.smtpAddress -match ".*info@.*"} | Format-Table name, smtpaddress > logfile.txt

 

 

Sometimes customers ask me for errors with Calendar items where they have errors with OLD users.

If you are recieving ERROR with OLD/Deleted E-Mail Addresses (Non Existing) this may be realted due to follwing fact:

 

a) The User HAD a active DELEGATE/DELEGATION

b) The user WAS deleted BEFORE the delegation was removed

 

This is how the error may look then:

IMCEAEX-_O=BUETEU_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Mrwe@buhllabs.ccom

#5.1.1 smtp;550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found> #SMTP#

 

You can only solve this with MFCMAPI tools. Microsoft KB312433

http://support.microsoft.com/kb/312433

 

Tags:

Comments are closed

Werbung von Drittfirmen (Nicht Butsch Informatik):

Werbung von Drittfirmen via Google Adsense: