Ds Query - Gadget Planet

I was helping out an administrator not too long ago who was trying to find user accounts based on some specific user properties. My first thought for a quick and easy solution was to use DSQuery User. Ars Technica: dsquery computer -inactive.

Nobody logged on, or not present on the domain? TL;DR. What does "inactive" mean in "dsquery computer -inactive"? Nobody logged on, or the computer is absent?<BR><BR>Our desktop support group often physically removes computers from the network ...

ds query, dsquery computer -inactive. Nobody logged on, or not present on the domain? dsquery * domainroot -filter "((objectCategory=Person)(objectClass=User)(msNPAllowDialin=TRUE)) -attr sAMAccountName<BR><BR>Want it to tell me the name of all my users thathave Dialin access enabled.