Rename La Salle credential provider
This commit is contained in:
@@ -28,7 +28,7 @@ param(
|
||||
[string]$UpnSuffix = 'lci.lasalle.mx',
|
||||
[string]$RemoteDesktopGroupDn = '',
|
||||
[ValidateLength(1, 64)]
|
||||
[string]$DefaultCompany = 'Universidad La Salle',
|
||||
[string]$DefaultCompany = 'La Salle',
|
||||
[ValidateRange(10, 60)]
|
||||
[int]$NtlmTimeoutSeconds = 20,
|
||||
[ValidateRange(2, 90)]
|
||||
|
||||
@@ -190,7 +190,10 @@ if ($PSCmdlet.ShouldProcess($installPath, 'Install and register the SGU Credenti
|
||||
New-ItemProperty -Path $classRegistryPath -Name ThreadingModel -Value Both -PropertyType String -Force | Out-Null
|
||||
|
||||
New-Item -Path $providerRegistryPath -Force | Out-Null
|
||||
Set-Item -Path $providerRegistryPath -Value 'Universidad La Salle · Acceso SGU'
|
||||
# Windows PowerShell 5.1 interprets an UTF-8 script without a BOM using the
|
||||
# current ANSI code page. Construct the middle dot from its Unicode value so
|
||||
# the LogonUI registry label remains correct on every client locale.
|
||||
Set-Item -Path $providerRegistryPath -Value ('La Salle {0} Acceso SGU' -f [char]0x00B7)
|
||||
|
||||
if (-not $DoNotSetAsDefaultCredentialProvider) {
|
||||
if (-not (Test-Path -LiteralPath $defaultProviderPolicyPath)) {
|
||||
|
||||
Reference in New Issue
Block a user