|
|
Hi,
I'm trying to modify an existing website's server bindings using WMI. I think its just a simple syntax problem but I haven't found any documentation on updating existing serverbindings.
This is a small part of my code that I'm using to try to update the MetaBase file using IIsWebServerSetting and the ServerBindings property. I can connect to the path but this script is not updating the MetaBase file but still allows the rest of my script to run with no problems.
Set SiteBinding = providerObj.get("IIsWebServerSetting='" & strSitePath & "'") SiteBinding.ServerBindings = "192.168.2.1:80:mywebsite.com" SiteBinding.Put_()
|
|
|