I have iis bindings which use parameters and parameters are set depends on environment.
But today we setup new environment and before promote we forgot to set them and got error cant parse to bool. It make sence when we print bindings in powershell and look like that
https/:443:DOMAINNAME/1533aebdbc1b0ac90f44a9dac5f4b88e62c83453/
#{IIS.UseSsl}/False|http/:
#{IIS.Port}:
#{IIS.HostName}//
#{IIS.UseHttp}/false
Also some time ago i had other issue when Require SNI become null, and again it wont parse to bool.
In my opinion it should not start if there is any missing parameters and then before path data to powershell it should be checked if string is valid and would be parsed well