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

Import and Activate Power Scheme

How to import a power scheme and then activate it? Let’s consider the following power scheme: Name: Corporate-Balanced Power Scheme GUID: dam2e870-e11b-4b99-88d9-9bec021a7dbs This power scheme has been saved as mypowerscheme.pow . Import Power Scheme powercfg.exe /import mypowerscheme.pow dam2e870-e11b-4b99-88d9-9bec021a7dbs . . Activate Power Plan powercfg.exe /s dam2e870-e11b-4b99-88d9-9bec021a7dbs . . Result The following power plan is created … Read moreImport and Activate Power Scheme