?
Solved

Powershell / quest commandlets script that will exports a list of users with the LegacyExchangeDN and export to .csv file

Posted on 2011-05-11
2
Medium Priority
?
1,519 Views
Last Modified: 2012-05-11
Powershell / quest commandlets script that will export users from a particular OU with the LegacyExchangeDN and export to .csv file
0
Comment
Question by:mjm21
2 Comments
 
LVL 43

Accepted Solution

by:
Adam Brown earned 2000 total points
ID: 35739052
Attached code will do it for you in Quest.
get-qaduser -searchroot <ou path> -properties legacyexchangedn | select name,legacyexchangedn | export-csv c:\users.csv

Open in new window

0
 

Author Comment

by:mjm21
ID: 35755689
Perfect!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

807 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