Thursday, December 24, 2009

How to display system info via command line

This command gives you a hard copy of the information displayed in System Information (Accessories). From the command prompt type: Systeminfo > server.txt Then Notepad server.txt lets you read the data captured. The > 'greater than' is an old trick to redirect information from the screen into a file.


Systeminfo - pipe O/S details to a text file
 
For example:   
 
systeminfo > c:\systeminfo.txt

output info to a pipe file

Host Name: 6LMKK1S
OS Name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Service Pack 3 Build 2600
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: fzi
Registered Organization: fzi
Product ID: 76487-641-0311207-23721
Original Install Date: 18/08/2009, 3:54:09 PM
System Up Time: 8 Days, 21 Hours, 23 Minutes, 9 Seconds
System Manufacturer: Dell Inc.
System Model: OptiPlex GX620
System type: X86-based PC
Processor(s): 1 Processor(s) Installed.
[01]: x86 Family 15 Model 4 Stepping 7 GenuineIntel ~2793 Mhz
BIOS Version: DELL - 7
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (GMT+10:00) Canberra, Melbourne, Sydney
Total Physical Memory: 2,038 MB
Available Physical Memory: 1,185 MB
Virtual Memory: Max Size: 2,048 MB
Virtual Memory: Available: 2,008 MB
Virtual Memory: In Use: 40 MB
Page File Location(s): C:\pagefile.sys
Domain: test.com.au
Logon Server:
Hotfix(s): 154 Hotfix(s) Installed.NetWork Card(s): 1 NIC(s) Installed.
[01]: Broadcom NetXtreme Gigabit Ethernet
Connection Name: Local Area Connection
DHCP Enabled: Yes
DHCP Server:
IP address(es)
 

No comments:

Post a Comment