Getting a Error while importing active directory users to csv file
-
Sunday, December 09, 2012 2:41 AMDsquery has reached the default limit of 100 results to display; use the -limit
option to display more results. can any one help me please, where i need to the -limit
All Replies
-
Sunday, December 09, 2012 5:43 AM
Append it to the end of your dsquery conmmand.
For example:
"dsquery * -limit 0" 0 = no limit.
"dsquery * -limit 1000" = returns the first 1000 objects.Enfo Zipper Christoffer Andersson – Principal Advisor
- Proposed As Answer by Santhosh Sivarajan-MVP Sunday, December 09, 2012 3:29 PM
- Marked As Answer by Cicely FengMicrosoft Contingent Staff, Moderator Friday, December 14, 2012 7:00 AM
-
Sunday, December 09, 2012 3:24 PM
I would agree with Christoffer.
By default, dsquery output is limited to 100 results to display. To avoid this, you can use the -limit switch to update this limit.
If you don't want to specify a limit, use -limit 0. If you want to specify a limit then use -limit x where x is an integer which is not equal to 0.
More details her: http://technet.microsoft.com/en-us/library/cc754232(v=ws.10).aspx
This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
- Proposed As Answer by Santhosh Sivarajan-MVP Sunday, December 09, 2012 3:29 PM
-
Sunday, December 09, 2012 3:30 PM
You can see more examples in the following link:
Santhosh Sivarajan | Houston, TX
Windows 2012 Book - Migrating from 2008 to Windows Server 2012
http://www.sivarajan.com/

This posting is provided AS IS with no warranties,and confers no rights.- Proposed As Answer by Patris_70 Sunday, December 09, 2012 11:40 PM
- Marked As Answer by Cicely FengMicrosoft Contingent Staff, Moderator Friday, December 14, 2012 7:01 AM

