Link to home
Start Free TrialLog in
Avatar of 25112
25112

asked on

do a search on server names on domain with a LIKE

is it possible to bring have all servers(machines) on the domain that has the name DEV in it, through DOS prompt commands?

examples: POSDEV01, DEVELOPERSLAB24 etc
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

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
SOLUTION
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
SOLUTION
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
SOLUTION
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

OK.. is it possible dsquery may bring servers there were but not any more.. in other words.. does dsquery check in real time or from a database that may not be synced to realtime?
Avatar of 25112

ASKER

oBdA, how can you check if I want to check for anything that starts with POS and also has DEV in them.. in your query..dsquery computer -limit 0 | find /i "pos*dev" >devcomputers.txt
but that did not bring it back right (mkline71 query worked, and hence i wanted to try that format)..

Mike, your query is good.. i need to pass it to on to programmers.. seems like oBdA is little simpler.. thats all.
Avatar of 25112

ASKER

dragon-it,
Net view | find /i "dev"
does not seem to bring it all.. they also start with \\
Avatar of 25112

ASKER

billprew, thanks. I will keep that tool in mind when we can.. right now we need to have something that programmers can use without having to install extra.. thanks.