Sunday, July 17, 2011

Managing Microsoft IIS, Active Directory and DNS from .net

Update 7/17/2011:  New links

This code was one of my first coding project from 11-10-2006

Today I am posting sample code on how to manage IIS 6 and Active directory using ADSI in VB.NET.
And managing DNS (creating zones, records and enumeration) using WMI in VB.NET.
There are four separate projects. 
This code is posted as-is!  It is to be used as a sample on how to do the work.  It is not intended to be used in production!
http://dl.dropbox.com/u/3275573/blog/web.zip - ADSI management of IIS 6 Sites and AppPools
http://dl.dropbox.com/u/3275573/blog/DNS.zip - WMI management of Microsoft DNS Zones and Records
http://dl.dropbox.com/u/3275573/blog/ActiveDirectory.zip- ADSI management of Active Directory contacts, Groups, Users, Recipient Policies, Accepted Domains objects (Exchange 2007)
http://dl.dropbox.com/u/3275573/blog/IISSiteID.zip - C# code on generating IIS SiteID

4 comments:

  1. Hi Mike, you have already written, what I am searching for a long time... but your D/L Links are broken.

    If you have already the DNS.zip sample then i would like to receive it via mail (terrytorry#hotmail.com).

    Best Regards
    Terry

    ReplyDelete
  2. Mike, we need you! Your DNS zip file only contains the project files, but no actual .vb files or source code files.....

    ReplyDelete
  3. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.
    or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry.

    ReplyDelete

Enumerating TFS Permissions for items within the TPC for audit and logging

Below is a powershell cmdlet that I threw together to enumerate data out of our TFS instance.  This is used to keep track of permissions in ...