Import a list of Windows computer names into a text file
Submitted by guvnor on Wed, 09/16/2009 - 11:17
Import Network Windows Hosts into a text file
2r4cksg78d If you wish to import all of the computers in a domain or workgroup displayed under the Windows Network into a text file there isn't always an obvious way of doing it. However with a simple cmd prompt command you can get a listing of the machines registered in the domain. In my example I am going to output the computer names into a file called hostnames.txtObtain the listing
Open a command prompt Start->Run->cmd Typenet view > hostnames.txt
net view /domain:mydomain > hostnames.txt