Home XP Commands
XP Syntax

PsInfo (part of PsTools - download PsInfo)

List information about a system including the type of installation, kernel build, registered organization, owner, processor details, physical memory and the system install date.

Syntax
      psinfo [\\computer[,computer[,..]] [options] [filter]

      psinfo @file [options] [filter]

Options:

   computer   The computer(s) on which psinfo will list information. Default=local system 
               
   @file      List info for every computer listed in the text file specified.

   -c         Print in CSV format.
   -c -t d    Print in CSV format, separate items with delimiter d.

   -h         Show list of installed hotfixes.

   -s         Show list of installed applications.

   -d         Show disk volume information.

   -p psswd   Specify a password for user (optional). Passed as clear text.
              If omitted, you will be prompted to enter a hidden password.

   -u user    Specify a user name for login to remote computer(optional).


   filter     Psinfo will only show data for the field matching the filter. 
               e.g. "psinfo service" lists only the service pack field.

PsInfo relies on remote Registry access to obtain its data, the remote system must be running the Remote Registry service and the account from which you run PsInfo must have access to the HKLM\System portion of the remote Registry.

In order to aid in automated Service Pack updates, PsInfo returns as a value the Service Pack number of system (e.g. 0 for no service pack, 1 for SP 1, etc).

Examples:

List disc information about \\workstation64:

psinfo \\workstation64 -d
echo %errorlevel%

Related Commands:

PsGetSid - Display the SID of a computer or a user
SYSTEMINFO - List system configuration

Equivalent Linux BASH command:

cat /proc/*



Back to the Top

Simon Sheppard
SS64.com