Search code examples
batch-fileshutdown

retreving computer names over network


I can shutdown other computers on the network using the following command.

shutdown -i 

Is it then possible to also collect a list of all computer names on that network...?

...Preferably with user names.


Solution

  • you can use 'net view' to enumerate all the machines.