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