I think you should be able to do it with the DirectoryServices library. It
actually just wraps ADSI, and can be used to access the IIS ADSI objects.
Look in the docs on IIS Administration with ADSI to find the path syntax,
objects, methods and properties to use. Then use the Invoke() method etc on
the DirectoryEntry object.
Arild