espressif/idf-env

idf-env support for detecting operating system

georgik opened this issue · 0 comments

Add support for detecting detailed information about operating system.
Some features might not be present on different OS versions and it's good to have diagnostic tool for that. Features like: SecurityCenter2.
Example in PoweShell:

(Get-WmiObject Win32_OperatingSystem).Version
10.0.19042

(Get-Item "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").GetValue('ProductName')
Windows 10 Pro

(Get-WmiObject Win32_OperatingSystem).BuildNumber
19042

Example on server:

(Get-Item "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").GetValue('ProductName')
Windows Server 2019 Datacenter