Exchange Server Share

January 24, 2009

Offer: 10% Discount with a free retake on Microsoft Certification

Filed under: Offer — Amit Tank @ 7:32 pm
Tags:

Dear Reader,

In this challenging economic climate, upgrading your IT skills becomes crucial to staying ahead. Invest in a Microsoft Certification to get the right IT skills.

If you are from India and wish to take Microsoft Certification Exam, you can use my below promotion code and enjoy 2 chances to pass a Microsoft Certification Examination plus a 10% discount! If you fail on your first attempt, you will receive a free retake of the same exam(both exams must be taken by May 31, 2009)!

Promotion code: IN57B47C (valid in any Promatric center across the India)

Offer valid till 30th April, 2009

Further Details and T&C: http://www.learnandcertify.com/

Regards,
Microsoft MVP – Exchange Server | MCITP: EMA | MCSA: M | ITIL

January 19, 2009

EMS TitBit: Search/Find Email Addresses

Filed under: EMS TitBit, Exchange, Exchange 2007, PowerShell — Amit Tank @ 7:56 am
Tags: , , ,

How do you search/find email addresses in Exchange 2007 using wildcard?

Well, Exchange Management Console has capability to filter recipients but it has limited power hence while working in enterprise or big environment when you want to find all kind of recipients, indeed PowerShell gives enrich direction with efficient search terms.

Let’s start with an example, below Exchange Management Shell CmdLet to find all email addresses which are still have smtp address of an old domain.

Get-Recipient -Filter "EmailAddresses -like ‘*@OldDomain.com’"

Additional Info:

  • Above CmdLet searches…
      • All recipients (including User Mailbox, Mail User, Mail Contact, Universal/nonUniversal Secruity/Dist Group, Dynamic Distribution Group and Public Folders)
      • All the email addresses (including primary, secondary, x400, x500, sip or any custom)
  • You can add more search terms by appending –AND / –OR  logical expression in filter switch to find more specific recipients as per your requirement…

Get-Recipient -Filter "EmailAddresses -like ‘*@OldDomain.com’ -And RecipientType -eq ‘UserMailbox’"

Get-Recipient -Filter "EmailAddresses -like ‘*@OldDomain.com’ -And Office -eq ‘OfficeName’"

  • You can add -ResultSize Unlimited switch to eliminate default display limit of 1000 recipients in EMS.

Get-Recipient -ResultSize Unlimited -Filter "EmailAddresses -like ‘*@OldDomain.com’"

Hope this helps you to search in Enterprise Exchange environment…!!!

References:
Get-Recipient
Working with Command Output

Blog at WordPress.com.