SYSTEMINFO

List system configuration.

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

Key:
    /S  system         Remote system to connect to.
    /U  [domain\]user  User context under which to execute.
    /P  [password]     Password for the given user (will prompt if omitted)
    /FO format         Output format: TABLE, LIST or CSV
    /NH                No "Column Header" in the Table/CSV output

The output includes OS configuration, security info, product ID, RAM, disk space, and network cards.
On a server you may run out of CMD window buffer, to avoid this either increase the window buffer size or redirect the output to a file.

Examples

SYSTEMINFO
SYSTEMINFO |find "Total Physical Memory:"
SYSTEMINFO |find "me:  "
SYSTEMINFO /S computer64
SYSTEMINFO /S computer64 /FO CSV /NH >>pcaudit.csv

In PowerShell we can convert the CSV ouptut into an object:
$objects = systeminfo.exe /FO CSV | ConvertFrom-Csv
$objects.'Available Physical Memory'

This output will be localised, on English systems the property names will be in English etc, to normalize these for international use see here.

“plus ça change, plus c'est la même chose (The more things change, the more they are the same.)” ~ Jean-Baptiste Alphonse Karr 1849.

Related commands

WINVER.exe - In client OS's this will open the GUI Version dialogue box (Help, About).
MSINFO32 - Windows System Information.
VER - Display version information.
PsGetSid - Display the SID of a computer or a user.
Equivalent PowerShell: Get-ComputerInfo - Get system and operating system properties.


 
Copyright © 1999-2024 SS64.com
Some rights reserved