Fix copy paste error

This commit is contained in:
Manuel Thalmann 2024-08-10 03:57:26 +02:00
parent a219a15a5c
commit 61d610f194

View file

@ -121,16 +121,7 @@ $null = New-Module {
};
foreach ($key in $options.Keys) {
Set-ItemProperty -Name $key
$displayName = Get-UserConfig -UserName $name "displayName";
$userArguments = @{
name = $name;
};
if ($displayName) {
$userArguments.fullName = $displayName;
} -Value $options[$key];
Set-ItemProperty $logonPath -Name $key -Value $options[$key];
}
}