Creating Lists of Computer Names

Very often you will want to run a script against a list of computers. I’ve found that the most flexible way is to grab computer names from a text file. When your scripts pull input information from a text file, there are many options available for how you create that text file. This vbscript will create a text file of all computer names in a specified Active Directory container.

I have also written about using PowerShell to generate lists of computer names.