Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idf-env support for detecting operating system #2

Open
georgik opened this issue Apr 19, 2021 · 0 comments
Open

idf-env support for detecting operating system #2

georgik opened this issue Apr 19, 2021 · 0 comments

Comments

@georgik
Copy link
Collaborator

georgik commented Apr 19, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant