Solved

Exchange 2007 Show MailNickname vs sAMAccountName For All AD Users

Posted on 2013-06-27
1
1,014 Views
Last Modified: 2013-07-15
Hi, I have a need to get information piped to a .txt file that will show me all my users MailNickname vs their sAMAccountName for all active directory users.

Can anyone help with a powershell command or script?
0
Comment
Question by:shanewilson6002
1 Comment
 
LVL 13

Accepted Solution

by:
lciprianionut earned 500 total points
ID: 39288561
get-mailbox (or get-recipient) -resultsize unlimited | select Displayname, Alias, sAMAccountName | Export-Csv -NoTypeInformation -Path c:\temp\export.csv
0

Featured Post

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Suggested Solutions

This is a fairly complicated script that will install the required prerequisites to install SCCM 2012 R2 on a server.  It was designed under the functional model in order to compartmentalize each step required, reducing the overall complexity.  The …
Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

911 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now