Solved

AD 2003

Posted on 2011-03-17
1
242 Views
Last Modified: 2012-05-11
C:\>csvde -f adinfo2.csv -l "DN" -r "(&(objectclass=user)(cn=a*))"

Hi all,  the command above, how do i change the cn=a* to all users from A-Z

I need a report from AD all i need is the users.  We are running server 2003 with OU

Thank you for all your help
0
Comment
Question by:happyexchange
1 Comment
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 35156785
Change it to

"(&(objectcategory=person)(objectclass=user))"

You don't need the cn=a*

Thanks

Mike
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Resolve DNS query failed errors for Exchange
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

813 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

11 Experts available now in Live!

Get 1:1 Help Now