Set registry values properly
This commit is contained in:
parent
595b7cb874
commit
2a7adfeba3
1 changed files with 1 additions and 5 deletions
|
@ -75,12 +75,8 @@ $null = New-Module {
|
||||||
$Value
|
$Value
|
||||||
)
|
)
|
||||||
|
|
||||||
if ($Value -is [string]) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
$key = Get-SetupConfigKey;
|
$key = Get-SetupConfigKey;
|
||||||
return $key.SetValue($Value);
|
$null = Set-ItemProperty ($key.PSPath) -Name $Name -Value $Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
Loading…
Reference in a new issue