Solved

AD 2003

Posted on 2011-03-17
1
250 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

[b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

856 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