I see the SecureBindings property in the IIsWebServerSettings class and
SecureBindings is listed as an "array of object:SecureBinding" in CIM Studio
Can anyone tell me why the script is unable to find the property?
Set sslPort = objWMI.Get("IIsWebServerSetting='W3SVC/1234'")
sslBindings = Array(0)
Set sslBindings(0) = objWMI.get("SecureBindings").SpawnInstance_()
sslBindings(0).IP = ""
sslBindings(0).Port = "443"
sslPort.Put_()
If it matters any the entire script creates a single website with two host
headers and a matching app pool. Those pieces work fine but when the script
gets to the SecureBindings property it errors.