Downloads
92855.zip

Our account managers were constantly asking us to give them information regarding our servers, but they didn't like getting the Windows Microsoft Diagnostics (WinMSD) dump. So, I wrote a script, All_Information.vbs, to obtain computer information. The script refines that information and writes it to a text file named computer _name.txt, where computer_name is the name of the computer from which the information was obtained.

All_Information.vbs gives you the computer's information in three sections:

  • System Information. This section describes the computer's basic system, such as the computer's make and model, OS and service pack level, processors (except hyperthreaded processors), and amount of free memory.
  • Disk Information. This section provides data (e.g., model, interface type, size, primary and extended partitions) for all the hard disks laid out as physical disks.
  • Network Information. This section provides information about all the network cards. If a card is disabled or disconnected, it will indicate that status. If you run this script on a Windows 2000 computer, the script won't report the line speed or connection name.

Note that All_Information.vbs might take longer to run on systems with multiple partition configurations. When the script finishes running, a message box pops up indicating so. That way, you're not left guessing.

To use All_Information.vbs, all you need to do is run it on the computer for which you want the statistics. You can download the script by clicking the Download the Code Here button above. Although I wrote the script for use on our servers, it works on workstations as well.

As Listing 1 shows, All_Information.vbs uses Windows Management Information (WMI) to obtain the computer information. Thus, the computer on which you run the script must have WMI installed. In addition, you need to have Windows Script Host (WSH) 5.6 installed on the computer.

—Joshua Arzt