brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: systeminfo prints the Windows version, RAM, hotfixes and more

Windows
~/tips/tip-windows-systeminfo-command

systeminfo

Shows detailed configuration of the computer and its operating system in a Command Prompt window.

Support forms always ask for the exact Windows version and the amount of memory. One command gathers it all.

systeminfo
systeminfo /fo csv /nh
systeminfo | findstr /b /c:"OS Name" /c:"OS Version"

Microsoft describes systeminfo as showing operating system configuration, security information, product ID and hardware properties such as RAM, disk space and network cards. The output is one long list, so filtering with findstr as in the last line keeps only what you need.

/fo selects the format: TABLE, LIST or CSV. /nh removes the column headers for table and CSV output, which suits scripts that collect information from several machines.

It can also query another computer with /s, using /u and /p for credentials.

The caveat is the password option. Typing /p with the password puts it in plain text on the command line, where it can end up in logs or be seen over a shoulder. Leave /p out and the command asks for it, or use another way to authenticate. Also remember that the report is a snapshot of that moment, so run it again after installing updates if you need the current state.

Further reading: Microsoft Learn: systeminfo

More Windows tips Win+Ctrl+C Win+Shift+Left arrow Win+Ctrl+Left arrow Alt+PrtScn Left Alt + Left Shift + Print Screen All Windows tips (33) All topics

Link