Re: [python-win32] Delete IIS website via wmi

2007-11-16 Thread Sten Spans
On Thu, 15 Nov 2007, Sten Spans wrote: > > I'm rewriting some iis management scripts in python, > using the python wmi bindings from > http://tgolden.sc.sabren.com/python/wmi.html > > Creating / Ennumerating sites works just fine. > But I can't seem to figure out how to delete sites. > > import w

[python-win32] Delete IIS website via wmi

2007-11-15 Thread Sten Spans
I'm rewriting some iis management scripts in python, using the python wmi bindings from http://tgolden.sc.sabren.com/python/wmi.html Creating / Ennumerating sites works just fine. But I can't seem to figure out how to delete sites. import wmi iis = wmi.WMI(namespace = "MicrosoftIISv2") ''' loc