Enable AMD Ryzen plan by default
This commit is contained in:
parent
e3e998a4a4
commit
031b07fb54
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ function Install-PortValhallaDrivers {
|
|||
choco install -y geforce-game-ready-driver icue wavelink;
|
||||
$context.RemoveDesktopIcon("*Wave Link*");
|
||||
$context.RemoveDesktopIcon("*GeForce*");
|
||||
|
||||
Write-Information "Set AMD Ryzen power plan as default";
|
||||
$ryzenPlan = [regex]::Match(((powercfg /LIST) | Where-Object { $_ -like "*(AMD Ryzen*"; }), "Power Scheme GUID: ([0-9a-f-]+) ").Groups[1];
|
||||
powercfg /S $ryzenPlan;
|
||||
$context.PreventSleepMode();
|
||||
}
|
||||
|
||||
function Install-PersonalDrivers {
|
||||
|
|
Loading…
Reference in a new issue