Include Algo generated password (#1272)

I change a line to Include the Algo generated password so the users do not need to manually enter the password when installing on Windows 10 computers.
This commit is contained in:
Angel Montes de Oca 2019-01-07 23:48:05 -08:00 committed by Jack Ivanov
parent 9830947dfd
commit 44ab95f12b

View file

@ -85,7 +85,7 @@ $CaCertificateBase64 = "{{ PayloadContentCA }}"
$UserPkcs12Base64 = "{{ item.1.stdout }}"
if ($PsCmdlet.ParameterSetName -eq "Add" -and -not $Pkcs12DecryptionPassword) {
$Pkcs12DecryptionPassword = Read-Host -AsSecureString -Prompt "Pkcs12DecryptionPassword"
$Pkcs12DecryptionPassword = ConvertTo-SecureString '{{ p12_export_password }}' -asplaintext -force
}
<#