2.6. Viewing System Properties


You want to view the system properties of a server. These properties include operating system version, system manufacturer and model, processors, memory, and logon domain to name a few.


Using a graphical user interface

From the Start menu, select All Programs (or Programs on Windows 2000) Accessories System Tools System Information.

You can also get some system information by going to Start Run. Type WinVer and click OK.

If you want to view the installed hardware on a machine, go to Start Run. Type devmgmt.msc and click OK.

Using a command-line interface

There are numerous ways to get system information from the command line. You can run the new Windows Server 2003 utility, systeminfo.exe against Windows 2000, Windows XP, or other Windows Server 2003 systems. Use the /s option to run the command against a remote server as in this example:

> systeminfo /s <ServerName>

The srvinfo.exe utility, which is available in the Windows Server 2003 and Windows 2000 Resource Kits, can also retrieve system information remotely. It displays a list of installed services, service packs, and hotfixes.

> srvinfo \\<ServerName>

Lastly, the Sysinternals psinfo.exe tool retrieves similar information for a local or remote system. The tool has options for viewing hotfixes (-h option), software (-s option), and disk volume (-d option) information.

> psinfo -h -s -d \\<ServerName>

Using VBScript

' This code prints system information similar to the systeminfo ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.