Set registry values properly

This commit is contained in:
Manuel Thalmann 2024-07-31 22:33:16 +02:00
parent 7efb82e0e6
commit bfb86531b5

View file

@ -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;
} }
<# <#