Command referencesysteminfo
systeminfo command (Windows / CMD)
What it does
Display detailed operating system, hardware, boot, memory, and update information. Searches for the systeminfo command cmd usually need CMD syntax, practical switches, and notes on how it compares with PowerShell or Linux alternatives. This page covers syntax, common options, and copyable examples for Command Prompt.
Display detailed operating system, hardware, boot, memory, and update information.
Syntax
systeminfo [/S system [/U user [/P password]]] [/FO format] [/NH]
Common options
| Flag / option | Meaning |
|---|---|
| /S system | Query a remote computer. |
| /U user | Use a selected remote account. |
| /P password | Supply its password; prompting is safer. |
| /FO format | Choose TABLE, LIST, or CSV. |
| /NH | Omit headers in table or CSV output. |
Practical examples
Local details
systeminfo
Shows system inventory and OS information.
CSV output
systeminfo /FO CSV
Formats the report as CSV.
Find boot time
systeminfo | findstr /C:"System Boot Time"
Filters the local report to boot time.
Linux ↔ Windows equivalent
Closest match: uname (Linux / bash / sh / zsh). Print kernel and machine information.
Common mistakes
- Putting a remote password directly on the command line.
- Assuming every localized system uses the same output labels for findstr filters.
Related commands
- ipconfigDisplay and manage Windows IP configuration and DNS client state.
- sfcVerify protected Windows system files and repair supported corruption.
- unamePrint kernel and machine information.
- systemctlControl and inspect services and other systemd units.
- Get-ServiceRetrieve service controller objects and current service states.
- exportMark shell variables for inheritance by child processes.
- setDisplay, create, or remove CMD environment variables.
- shutdownShut down, restart, sign out, or schedule power actions.
FAQ
What does systeminfo do in Command Prompt?
Display detailed operating system, hardware, boot, memory, and update information.
How do I run systeminfo in CMD?
Open Command Prompt and follow `systeminfo [/S system [/U user [/P password]]] [/FO format] [/NH]`; quote paths containing spaces.
What is a practical systeminfo example in CMD?
Try `systeminfo` — Shows system inventory and OS information.
Can systeminfo be used in a batch file?
Yes. Check its exit code and escape CMD metacharacters when input is variable.
Browse the full Linux and Windows command reference to search more bash, CMD, PowerShell, Conda, and GitHub CLI commands.