PS C:\> net config workstation Computer name \\DESKTOP-TQ84 Full Computer name DESKTOP-TQ84 User name Rene Workstation active on NetBT_Tcpip_{F4E87762-F696-C464-A83B-82D7B260CB0D} (0D6B2D5F0051) Software version Windows 10 Pro Workstation domain WORKGROUP Logon domain DESKTOP-TQ84 COM Open Timeout (sec) 0 COM Send Count (byte) 16 COM Send Timeout (msec) 250 The command completed successfully.
net config workstaion
also prints Software version, this information can be used to determine the currently running Windows version.