Browse by Tags

All TagsiisADSI (RSS)
  • Powershell, ADSI and IIS 6 (on Win2003)

    I am trying to script the change of ScriptMaps variable on some IIS Websites (IIS 6 on Win2003). I have been using ADSI to get the value but I cannot find a way to Set (Put) the value. ([ADSI]"IIS://$computer/$name").Properties["ScriptMaps"] So i tried this: PS > $scriptmaps =...
    Posted to Forum by thompsonson on 05-22-2008, 1:24 PM
  • IIsIPSecurity (ADSI) sample code

    I have the wonderfull pleasure of createing a business to bussiness portal platform, a 4 node IIS6 cluster with hardware load balancing, which is going to host 50 or so hostheadered site to be used for ordermanagement and order tracking. unfortunately i am no able to move to IIS7 at this point in time...
    Posted to Forum by species5618 on 04-14-2008, 6:12 AM
  • Webalizer (stone steps) for IIS6.0 -ADSI Perl Script - automatic generation of Web Stats

    For those of you who want to produce Web statistics for IIS6.0, i have created a perl script which parses iis6.0 and produces stats for every virtual server. The script runs once everyday. I use Stone Steps webalizer. An improved version of webalizer ( http://www.stonesteps.ca/ ) See just below the script;...
    Posted to Forum by pilio on 03-10-2008, 11:47 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
  • Help Needed Urgent:Extending the IIS6.0 Metabase Using ADSI:-Modifying the attributes

    Hi All, I am writing an application for extending the metabase schema configuration in the MBSchema.xml using the ADSI. I am able to create new properties using the create method and able to set its data type(Syntax). But i couldnt find any methods of the IAds or the IADsProperty interfaces to modify...
    Posted to Forum by rajbhino on 05-09-2007, 9:05 AM
  • Delete a Metabase Key's Data

    Using ADSI in C#, I'm trying to delete the data for a specified metabase key. However there is no DirectoryEntry.Properties.Clear() method, even though the PropertyValueCollection claims to implement IDictionary. Is there an easy way to clear out all the values for, say, /LM/W3SVC/1234567/Root/Foo/Bar...
    Posted to Forum by mark_richman on 01-03-2007, 7:02 AM
  • Programmatically Set Inherit Property Attribute In Metabase

    I am running IIS 5.1 on Windows XP and have redirected the default website to point to a virtual directory by way of the following code: Dim rd As Object rd = GetObject("IIS://localhost/W3SVC/1/Root") rd.Put("HttpRedirect", "/NewVirtDir, CHILD_ONLY") rd.SetInfo() In doing so, the Inherit Attribute is...
    Posted to Forum by bobvbcd on 01-02-2007, 11:11 AM
  • Metabase file updated after delay

    Hi - When I use ADSI to access IIS 6.0 and make changes, such as adding a virtual directory, I found that the underlying metabase.xml file is updated only after about 2 minutes. Using the DirectoryEntry object, I do ensure that I use the Invoke method to call SetInfo and call the CommitChanges method...
    Posted to Forum by abhijitchoudhary on 10-07-2006, 1:48 AM
Page 1 of 1 (8 items)
Page view counter