Fix incorrect function call
This commit is contained in:
parent
7731c0dd71
commit
ec057db9ef
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ class Context {
|
||||||
|
|
||||||
if ($currentScheme -ne $performanceScheme) {
|
if ($currentScheme -ne $performanceScheme) {
|
||||||
Write-Information "Disabling Power Save mode";
|
Write-Information "Disabling Power Save mode";
|
||||||
$this.Set("Power Scheme", $currentScheme);
|
$this.Set("Power Scheme", $currentScheme, "ExpandString");
|
||||||
powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c;
|
powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue