systeminfo | findstr /I type:
systeminfo: This is a built-in command in Windows that displays detailed configuration information about a computer and its operating system. This includes details like the OS name, version, manufacturer, system uptime, and more.
findstr /I type:: The findstr command is used to search for strings in text. The /I switch makes the search case-insensitive. The string “type:” is what findstr is searching for in the output of systeminfo.