Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Modify IIS 6.0 Website Server Bindings using VBScript?

HTVi
TV Discussion Newsgroups

Modify IIS 6.0 Website Server Bindings using VBScript?
A. Cano 4/24/2007 9:42:01 PM
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_()

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen