There is no such command. You could use the command net view. Just type net view and hit enter. It will give you a list of all the computer currently connected to the same DNS server as you are.
But that is about as far as you will get with the command prompt.