Solved

Exchange 2007 Show MailNickname vs sAMAccountName For All AD Users

Posted on 2013-06-27
1
1,004 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
Comment Utility
get-mailbox (or get-recipient) -resultsize unlimited | select Displayname, Alias, sAMAccountName | Export-Csv -NoTypeInformation -Path c:\temp\export.csv
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
Introduction: Sometimes when I receive a call from my users to solve their problems it is very difficult for me to found their computer IP address. Even finding their computer Host to provide remote support can be a problem.  So I resorted to Goo…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

771 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

10 Experts available now in Live!

Get 1:1 Help Now