Solved

dsquery command line assistance

Posted on 2016-08-13
2
73 Views
Last Modified: 2016-08-15
Hello Experts,

I have the command line that will provide all the computers that did not login to the domain for the last 2 months but the issue is it only gives me 100 entries .

the command is

dsquery computer -inactive 8

How can I get more than 100 results ?
0
Comment
Question by:Zak
2 Comments
 
LVL 68

Accepted Solution

by:
Qlemo earned 500 total points
ID: 41755071
dsquery has a -limit parameter, which defaults to 100. Set it to 0, and you should get all results. This is stated e.g. at https://technet.microsoft.com/en-us/library/cc730720(v=ws.11).aspx .
0

Join & Write a Comment

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Resolve DNS query failed errors for Exchange
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 tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

760 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

18 Experts available now in Live!

Get 1:1 Help Now