SYSTEMINFO – Windows CMD Command
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.
I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.