Solved

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

Posted on 2009-05-12
2
807 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
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Find out what you should include to make the best professional email signature for your organization.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

803 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