Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-05-12
2
Medium Priority
?
821 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 1200 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 800 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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

971 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