Improve company productivity with a Business Account.Sign Up

x
?
Solved

AD 2003

Posted on 2011-03-17
1
Medium Priority
?
276 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 2000 total points
ID: 35156785
Change it to

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

You don't need the cn=a*

Thanks

Mike
0

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Sometimes it necessary to set special permissions on user objects.  For instance when using a Blackberry server, the SendAs permission needs to be set. I see many admins struggle with the setting that permission only to see it disappear within a few…
The article explains the process to deploy a Self-Service password reset portal I developed a few years ago. Hopefully, it will prove useful to someone.  Any comments, bug reports etc. are welcome...
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

606 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