$p = Get-CimInstance -Name root\cimv2\power -Class win32_PowerPlan -Filter "ElementName = 'High Performance'" Invoke-CimMethod -InputObject $p -MethodName Activate