AD Query - Getting Usernames , Emails , Etc with DSQUERY | DSGet
Posted on 2009-04-22
Our forestroot has around 15k or more users...
im trying to create a simple dsquery in order to get a full list of all the users , including first name , last name , email , pager , employee id...
dsquery user forestroot -limit 0 | dsget user -fn -ln -email -empid -pager >> emp.txt
however - the file keeps empty , if ill do it on a certain user using the search scope i.e *mark* - i will get all users who contain Mark , however - i cant do it on "all users"
is there a limitation? is there a way i can do it on all my 15k users?