Fix copy paste error
This commit is contained in:
parent
a219a15a5c
commit
61d610f194
1 changed files with 1 additions and 10 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue