Solved

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

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

631 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