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.
TL;DR. What does "inactive" mean in "dsquery computer -inactive"? Nobody logged on, or the computer is absent? Our desktop support group often physically removes computers from the network without ...
del /q dn.txt del /q dsdump.txt for /f %%u in (userlist.txt) do dsquery user -o dn -name %%u >> dn.txt dsget user -email -dn -hmdir -hmdrv -disabled -c < dn.txt > dsdump.txt REM dsget user -email -dn ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results