Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/future4tech/public_html/wp-includes/functions.php on line 6114
SYSTEMINFO – Windows CMD Command - Future4Tech

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.

You may also like...

1 Response

  1. frolep rotrem says:

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *


Notice: ob_end_flush(): Failed to send buffer of zlib output compression (0) in /home/future4tech/public_html/wp-includes/functions.php on line 5464