Friday, 18 April 2014

Microsoft: Run Systeminfo Remotely

Systeminfo displays detailed configuration information about a computer and its operating system, including operating system configuration, security information, product ID, and hardware properties, such as RAM, disk space, and network cards.

Syntax
systeminfo[.exe] [/s Computer [/u Domain\User [/p Password]]] [/fo {TABLE|LIST|CSV}] [/nh]

Parameters
/s   Computer: Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/u   Domain \ User: Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.
/p   Password: Specifies the password of the user account that is specified in the /u parameter.
/fo { TABLE | LIST | CSV }: Specifies the format to use for the output. Valid values are TABLE, LIST, and CSV. The default format for output is LIST.
/nh: Suppresses column headers in the output. Valid when the /fo parameter is set to TABLE or CSV.
/?: Displays help at the command prompt.

Examples
The following examples show how you can use the systeminfo command:
systeminfo.exe /s srvmain 
systeminfo.exe /s srvmain /u maindom\hiropln 
systeminfo /s srvmain /u maindom\hiropln /p p@ssW23 /fo table


Reference:
Systeminfo
http://technet.microsoft.com/en-us/library/bb491007.aspx

No comments:

Post a Comment