SYSTEMINFO
Displays configuration information for a local or remote system, including service pack levels.
SYSTEMINFO [/S system [/U username [/P [password]]]] [/FO format] [/NH]
Where:
/S system
- Specifies the remote system for which to display configuration information. If not specified, the local system will be assumed./U username
- Specifies the user for whom operating system information is to be displayed./P [password]
- Specifies the password associated with the userusername
. If not specified, the user running the command will be prompted for it./FO format
- Specifies the format for the output.format
can be:TABLE
- tableLIST
- listCSV
- CSV format, i.e. comma-separated values
/NH
- Specifies to exclude the header from the output. Valid only forTABLE
andCSV
formats.
Examples:
1. Return local system configuration information in CSV format, excluding the header:
systeminfo /fo csv /nh
2. Display remote system configuration myneighbor
for user luser
with password passwrod
in table format:
systeminfo /s myneighbor /u luser /p passwrod /fo table
Comments