Check OS with PowerShell

All information relative to the Operating System installed can be retrieved from the registry and more especially in the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion . Until Windows 8.1, the entry CurrentVersion could be used to retrieve the Windows OS version: . But, this entry is deprecated since Windows 10, and Microsoft recommends to use the following … Read moreCheck OS with PowerShell