Fix non-functioning code
This commit is contained in:
parent
120bf7eafa
commit
9f46580fa1
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Context {
|
|||
}
|
||||
|
||||
[void] SetUACState([bool] $value) {
|
||||
$null = Set-ItemProperty -Path ($this.GetSystemPolicyKey().PSPath) -Name "EnableLUA" -Value [int]$value;
|
||||
$null = Set-ItemProperty -Path ($this.GetSystemPolicyKey().PSPath) -Name "EnableLUA" -Value ([int]$value);
|
||||
}
|
||||
|
||||
[void] RegisterReboot() {
|
||||
|
|
Loading…
Reference in a new issue