The latest April 9th update 2.6.6.18 throws an error when trying to use the -generateSslCert parameter on a first time HA deployment:
$parameters = @{
ClusterStorage = "C:\ClusterStorage\Volume1\Gateway"
ClientAccessPoint = 'gateway-ha'
StaticAddress = '10.0.0.50'
InstallerPath = "C:\Installers\WindowsAdminCenter2511.exe"
generateSslCert = $true
}
PS>.\Deploy-GatewayV2Ha.Deploy.ps1 @parameters -Verbose -WhatIf
>> TerminatingError(Deploy-GatewayV2Ha.Deploy.ps1): "A parameter cannot be found that matches parameter name 'generateSslCert'."
C:\Installers\Deploy-GatewayV2Ha.Deploy.ps1 : A parameter cannot be found that matches parameter name 'generateSslCert'.
At line:1 char:33
+ .\Deploy-GatewayV2Ha.Deploy.ps1 @parameters -Verbose -WhatIf
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Deploy-GatewayV2Ha.Deploy.ps1], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Deploy-GatewayV2Ha.Deploy.ps1
C:\Installers\Deploy-GatewayV2Ha.Deploy.ps1 : A parameter cannot be found that matches parameter name 'generateSslCert'.
At line:1 char:33
+ .\Deploy-GatewayV2Ha.Deploy.ps1 @parameters -Verbose -WhatIf
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Deploy-GatewayV2Ha.Deploy.ps1], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Deploy-GatewayV2Ha.Deploy.ps1