Thursday, August 23, 2007

DOS - `SYSTEMINFO`

`SYSTEMINFO` [/S system [/U username [/P [password]]]] [/FO format] [/NH]

Description:
This command line tool enables an administrator to query for basic
system configuration information.

Parameter List:
/S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under which
the command should execute.

/P [password] Specifies the password for the given
user context. Prompts for input if omitted.

/FO format Specifies the format in which the output
is to be displayed.
Valid values: "TABLE", "LIST", "CSV".

/NH Specifies that the "Column Header" should
not be displayed in the output.
Valid only for "TABLE" and "CSV" formats.

/? Displays this help/usage.

Examples:
SYSTEMINFO
SYSTEMINFO /?
SYSTEMINFO /S system
SYSTEMINFO /S system /U user
SYSTEMINFO /S system /U domain\user /P password /FO TABLE
SYSTEMINFO /S system /FO LIST
SYSTEMINFO /S system /FO CSV /NH

C:\>systeminfo
Host Name: XXXXXXXXXXXXXXX

Name: Microsoft Windows XP ProfessionalOS
Version: X.X.2X00 Build 2XX0OS
Manufacturer: Microsoft CorporationOS
Configuration: Standalone WorkstationOS Build
Type: XXXXXXXXXXXXXXXXX
Owner: XXXXXXXXXXx
Registered Organization: XXXXXx
Product ID: XXXXX-XVM-0XXX1G3-0GHN2
Original Install Date: 1/26/2000, 11:02:06 AM
System Up Time: 100 Days, 1 Hours, 55 Minutes, 59 Seconds
System Manufacturer: XXXXXXXXXXXXXXXx
System Model: XXXXXXXXXXX
System type: X86-based PC
Processor(s): 12 Processor(s) Installed.
[01]: XXXXXXXXXXXXXXXXXXXXXXXXXX
BIOS Version: XXXX - 6
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\System32
Boot Device: \Device\HarddiskVolume1
.................
....

1 comment:

Unknown said...

Its not working with DOS. Is there any other commands to identify the system informations.