Yep, NET VIEW works along those lines. If you are trying to view the computers in a network, but in a different domain or workgroup, try:
net view /domain:<domain name>
You can also see the shared folders on each computer you see on the net view list, by typing:
net view \\<computer name or ip...