dsquery realtime?

if dsquery searching in real time?

for example, if a server came down 10 minutes ago and has not come back yet (so it is not part of the domain at the moment, because of connectivity issues) , will it come back in the results of
dsquery computer -limit 0 | find /i "DEV"
LVL 5
25112Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Krzysztof PytkoSenior Active Directory EngineerCommented:
It doesn't matter if server is up or down :)
DSQUERY searches for computer object account within Active Directory database (ntds.dit) and reports output from it. The object must exist in AD then will be reported and once again, doesn't matter if it's up and running or not :]

Regards,
Krzysztof
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
25112Author Commented:
good to know..

it is also possible that AD team forgot to remove it from their DB, and hence we see an old unused non-existent server, right?
0
Neil RussellTechnical Development LeadCommented:
Yes. DSQUERY reports whats in AD not whats pluged in and switched on.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Krzysztof PytkoSenior Active Directory EngineerCommented:
Correct! :) If computer/server/user is no longer in comapny but wasn't removed from ADUC it still is available in AD database and will be reported by DS Tools query :)

Krzysztof
0
25112Author Commented:
thanks
0
Krzysztof PytkoSenior Active Directory EngineerCommented:
You're welcome :)

Krzysztof
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.