Don't know what your output contains as I haven't run it on the rPi yet.
But in Windows, systeminfo at a command prompt returns the following.
Is this something you can call & filter the data you want as required.
Code: Select all
C:\Users\Phil>systeminfo
Host Name: PHILS-TECRAI7
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.18362 N/A Build 18362
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: N/A
Registered Organization: Toshiba
Product ID: 00330-50519-57474-AAOEM
Original Install Date: 29/07/2019, 11:26:09 AM
System Boot Time: 11/09/2019, 9:55:07 PM
System Manufacturer: TOSHIBA
System Model: TECRA A50-C
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 78 Stepping 3 GenuineIntel ~2600 Mhz
BIOS Version: TOSHIBA Version 8.40 , 20/11/2018
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-au;English (Australia)
Input Locale: en-us;English (United States)
Time Zone: (UTC+10:00) Canberra, Melbourne, Sydney
Total Physical Memory: 16,316 MB
Available Physical Memory: 7,811 MB
Virtual Memory: Max Size: 18,748 MB
Virtual Memory: Available: 7,038 MB
Virtual Memory: In Use: 11,710 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \\PHILS-TECRAI7
Hotfix(s): 7 Hotfix(s) Installed.
[01]: KB4514359
[02]: KB4503308
[03]: KB4508433
[04]: KB4509096
[05]: KB4515383
[06]: KB4516115
[07]: KB4515384
Network Card(s): 4 NIC(s) Installed.
[01]: DrayTek Virtual PPP Adapter
Connection Name: Local Area Connection
DHCP Enabled: No
IP address(es)
[02]: Intel(R) Ethernet Connection I219-V
Connection Name: Ethernet
Status: Media disconnected
[03]: Intel(R) Dual Band Wireless-AC 8260
Connection Name: Wi-Fi
DHCP Enabled: Yes
DHCP Server: 192.168.59.10
IP address(es)
[01]: 192.168.59.21
[04]: Bluetooth Device (Personal Area Network)
Connection Name: Bluetooth Network Connection
Status: Media disconnected
Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
C:\Users\Phil>