This is a question I posted on Stack Overflow: http://stackoverflow.com/questions/15211175/how-to-get-list-reference-computers-on-a-domain-when-my-computer-is-not-a-part
I'm looking to get a list of computers on a domain, which my computer is not a part of. I would also like to know how to reference the computers of that domain by their names, not by their IP address.
I've tried the
net view command, which gives me a list of local computers, but not list of computers that are part of the remote domain. I have limited information on how our network is connect to the other office and found that others don't know either. I know there is a VPN connecting our two office locations. Our local network is not on a domain, where the other office is.
I've also tried
netstat -a <<ipaddress>> which does not provide me all the info I desire.
The people at the other office have provided me with the IP address of the computer. However I'm hoping to be able to reference it by name instead of IP address (because the other office utilizes scripts which use computer names instead of IPs... I don't want to have to update all the scripts). Any help is appreciated.