< Back

Get-OSDPower

Sat Jan 18, 2020 6:10 pm

NAME Get-OSDPower



SYNOPSIS

Displays Power Plan information using powercfg /LIST





SYNTAX

Get-OSDPower [[-Property] <String>] [<CommonParameters>]





DESCRIPTION

Displays Power Plan information using powercfg /LIST. Optionally Set an Active Power Plan





PARAMETERS

-Property <String>

Powercfg option (Low, Balanced, High, LIST, QUERY)

Default is LIST



Required? false

Position? 1

Default value LIST

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





19.10.1 David Segura @SeguraOSD



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>OSDPower



Returns Power Plan information using powercfg /LIST

Option 1: Get-OSDPower

Option 2: Get-OSDPower LIST

Option 3: Get-OSDPower -Property LIST









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>OSDPower High



Sets the active Power Plan to High Performance

Option 1: Get-OSDPower High

Option 2: Get-OSDPower -Property High











RELATED LINKS

https://osd.osdeploy.com/module/functions/get-osdpower