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