Fix incorrect function call

This commit is contained in:
Manuel Thalmann 2023-07-29 03:21:26 +02:00
parent 7731c0dd71
commit ec057db9ef

View file

@ -376,7 +376,7 @@ class Context {
if ($currentScheme -ne $performanceScheme) {
Write-Information "Disabling Power Save mode";
$this.Set("Power Scheme", $currentScheme);
$this.Set("Power Scheme", $currentScheme, "ExpandString");
powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c;
}
}