Browse by Tags

All Tagswmi powershell iis metabase (RSS)
  • Re: PowerShell and IIS 6.0

    Why don't you trying to use the IIS WMI object? Most of IIS functionailities are open via WMI interface and these are all visible from powershell environment. Try get-wmiobject -namesapce "root/MicrosoftIISv2" -list
    Posted to Forum by mathgig on 07-10-2008, 1:16 PM
  • Mass update IIS entries on IIS5/IIS6

    Hello everyone, I am new to IIS scripting and I am looking for some hints to doing follow: I need to perform a mass update on an IIS server (with more then 500 IIS entries) and decide to write a vbscript to do it. The script need to search out all IIS entries with IIS description (e.g. John's site1...
    Posted to Forum by Mark Lui on 11-14-2007, 4:15 AM
  • Create Vrirtual Directory through code C#

    Hello All, I am working on a web service that will create a new virtual directory on the same IIS Server where web service has been hosted. I am using following lines of code DirectoryEntries virtualDirs = site.Children; // create new virtual directory. DirectoryEntry virtualDirectory = virtualDirs.Add...
    Posted to Forum by Subinkj on 09-03-2007, 7:49 AM
  • Re: Create IIsWebDirectorySetting from PowerShell via WMI

    i experience the same problem as mark described on a Windows Server 2003 R2 however, i found that only the first call using $vdir causes an exception such as Exception calling "Put" with "0" argument(s): "You cannot call a method on a null-valued expression." any subsequent use of $vdir is successful...
    Posted to Forum by reto on 03-29-2007, 8:28 AM
  • Create IIsWebDirectorySetting from PowerShell via WMI

    I get this error from the following script: $vdir = ([wmiclass]" \\.\root\MicrosoftIISv2:IIsWebDirectorySetting").CreateInstance () $vdir.Name = "W3SVC/1/ROOT/" $vdir.AuthFlags = 5 # AuthNTLM | AuthAnonymous $vdir.EnableDefaultDoc = $TRUE $vdir.DirBrowseFlags = 0x4000003E # date, time, size, extension...
    Posted to Forum by mark_richman on 02-13-2007, 2:13 PM
Page 1 of 1 (5 items)
Page view counter