Update code accordingly
This commit is contained in:
parent
f91980ce9a
commit
fed96c7cdf
2 changed files with 4 additions and 4 deletions
scripts/Windows/Scripts
|
@ -117,7 +117,7 @@ class Context {
|
|||
}
|
||||
|
||||
[void] SetStage([string] $name) {
|
||||
$this.Set($this.StagePropertyName, $name, "ExpandString");
|
||||
$this.Set($this.StagePropertyName, $name);
|
||||
}
|
||||
|
||||
[string] GetStage() {
|
||||
|
@ -393,7 +393,7 @@ class Context {
|
|||
|
||||
if ($currentScheme -ne $performanceScheme) {
|
||||
Write-Information "Disabling Power Save mode";
|
||||
$this.Set("Power Scheme", $currentScheme, "ExpandString");
|
||||
$this.Set("Power Scheme", $currentScheme);
|
||||
powercfg /S 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue