To get the current power plan..
---------------------start code---------------------------------------------
$activeScheme = Get-WmiObject -Namespace "root\cimv2\power" -Class Win32_PowerPlan | Where-Object { $_.IsActive -eq $true }
Write-Output ("The active power plan is: " + $activeScheme.ElementName)
------------------------------end code-------------------------------------
To change the plan to Balanced..
-----------------------------start code------------------------------------
$balancedScheme = Get-WmiObject -Namespace "root\cimv2\power" -Class Win32_PowerPlan | Where-Object { $_.ElementName -eq 'Balanced' }
Invoke-WmiMethod -Path ("ROOT\CIMv2\Power:Win32_PowerPlan.InstanceID='" + $balancedScheme.InstanceID + "'") -Name Activate
Write-Output "The power plan has been changed to Balanced."
----------------------------end code---------------------------------------