Link to home
Start Free TrialLog in
Avatar of 25112
25112

asked on

2 kinds of dsquery results


i ran
dsquery * -filter "(&(objectcategory=computer)(name=*DEV*))" -attr name
and then
dsquery computer -limit 0 | find /i "DEV"

 the latter is more complete.. the first one does not show it all.. what is the reason?
in the second one, can we just have the name print like in the first one?
ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 25112
25112

ASKER

thanks Krzysztof. the write up is a great reference.. thanks for the hard work.

the third query, is so slow:
dsquery computer -name * -limit 0 | dsget computer -samid | find /i "DEV"

but for obvious reasons..

helps to confirm the point..
You're welcome :)

Krzysztof