Set registry values properly

This commit is contained in:
Manuel Thalmann 2024-07-31 22:33:16 +02:00
parent cd3f85103a
commit 734ae7bd05

View file

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