Solved

How can I list all the non-compliant aliased accounts in my exchange 2007 environment?

Posted on 2009-05-12
2
813 Views
Last Modified: 2012-05-06
I have a number of accounts and distribution lists in my exchange enivornment that I know need aliases changed (Spaces, improper characters, etc.)    Is there a powershell script that I can run that will dump that information to a text file so that I might give it to my administrators to correct?
0
Comment
Question by:norwoodhelpdesk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
kdagli earned 300 total points
ID: 24371396
Yes, check for the script named as "CheckInvalidRecipients.ps1" which comes by default when exchange is installed.
It should be under C:\Program Files\Microsoft\Exchange Server\Scripts.
Path may vary depending where exchange is installed.
0
 
LVL 13

Assisted Solution

by:FearNoMore
FearNoMore earned 200 total points
ID: 24371439
Try this command from Exchange Management Shell
get-mailbox | ft name, alias, PrimarySmtpAddress > C:\alias.csv
This will export the contents to a csv file
You can also use Exchange Management Shell to remove spaces from aliases
http://technet.microsoft.com/en-us/library/bb851499.aspx
You can also use ldifde and csvde tool to extract the information directly from AD
 
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In-place Upgrading Dirsync to Azure AD Connect
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question