Managing Microsoft IIS, Active Directory and DNS from .net

Update 7/17/2011:  New links Update 8/23/2013: Fixed links 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…


My last post

Today is my last day at Microsoft.  In an attempt to save time by not crossing the 520 bridge I am taking a job at a company in Seattle.  I will continue to post future items at  


Media Center 2005 and the DirecTV D11 Set-top-Box (getting IR to work) v2

I have had lots of people ping me for additional help on my original post at So here are some updates.  The path that has the STBCode key will not be the same for everyone.  MCE generates a random GUID for your tuner. For my tuner the path to the key is under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media…


RedvsBlue Season 4 DVDs arrived

Today out of the blue I got a DHL box delivered to me that contained a few copies of redvsblue Season 4 (  My team does some work for the redvsblue people so it was quite nice to get free copies of the shows.  For those of you who do not know what Red vs…


ISP Scenario hosting team is Hiring a Full time Operations Administrator

Shoot me mail mpoulson at microsoft dot com with your resume.   Full job description: Do you want to be part of a team that helps deliver on the hosting story for Microsoft?  We interact with product teams, hosting evangelists, marketing and customers to provide internal hosting services.  Driving feedback into Microsoft products like IIS,…


For the love of god Encrypt your hard drive!

How much more personal information must be stolen or miss placed by companies before people learn to encrypt their data ( .  It is NOT hard to do. Windows offers you EFS( and new BitLocker in windows Vista (   I was very shocked to see that companies like law firms do not encrypt their…


How to hard reset a Tornado based Smart Phone (Cingular 2125 or TMobile SDA)

These are the steps to do a hard reset of your HTC tornado/Faraday based Smartphone.  When you do this all custom data on the phone will be removed and the default setup will be put in place You have 2 options on doing this.  The first way requires you to be able to boot the…


How to speed up those Queries to MicrosoftDNS with WMI

So there are many key things to remember when creating your WMI queries make them as specific as you can. For example if you have ~5000 zones on your Microsoft DNS server and you are looking to see if a single record exists in one of those zones the wrong query could take 1 min+…


DSL testing on campus Part 2 of 2 (the NEW way)

This is part 2 of a 2 part post.   Post two: The NEW way of doing DSL on campus   About 2 years ago me and a co-worker were approached by 2 teams on campus that had a large number of DSL lines and did not want to pay the fee that Verizon charged. …


DSL testing on campus Part 1 of 2 (the old way)

This is part 1 of a 2 part post.    Post one: The OLD way of doing DSL on campus.   So for the past few years I have been part of a team that provides DSL access to various test teams on campus.  For a company like MSFT testing the “home scenario” is very…