You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the doc for new-tppcertificate says
"-CreateBinding
Specify that Trust Protection Platform should create an IIS web site binding if the one specified doesn't already exist."
except, setting it to $true attempts in vain to create the binding even if it the binding does already exist, and it throws an error, which crashes the whole script when iterating through a list with a for/foreach loop so it doesn't continue on to the next one. i'd expect it to just update bindings that already exist and create bindings that don't exist.
the doc for new-tppcertificate says
"-CreateBinding
Specify that Trust Protection Platform should create an IIS web site binding if the one specified doesn't already exist."
except, setting it to $true attempts in vain to create the binding even if it the binding does already exist, and it throws an error, which crashes the whole script when iterating through a list with a for/foreach loop so it doesn't continue on to the next one. i'd expect it to just update bindings that already exist and create bindings that don't exist.
New-TppCapiApplication -ApplicationName $entry.fqdn -FriendlyName $entry.fqdn -Path $targetdevicepath -CertificatePath $targetcertpath -CredentialPath $winaccountpath -WinRmPort 5985 -WebSiteName $iissitename -BindingIpAddress $bindingIP -BindingHostName $entry.fqdn -CreateBinding $true -PushCertificate -Verbose
The text was updated successfully, but these errors were encountered: