windows-nt/Source/XPSP1/NT/inetsrv/iis/img/psdksamp/admin/simpleadsutil
2020-09-26 16:20:57 +08:00
..
readme.txt Add source files 2020-09-26 16:20:57 +08:00
simpleadsutil.cpp Add source files 2020-09-26 16:20:57 +08:00
simpleadsutil.dsp Add source files 2020-09-26 16:20:57 +08:00
simpleadsutil.dsw Add source files 2020-09-26 16:20:57 +08:00
stdafx.cpp Add source files 2020-09-26 16:20:57 +08:00
stdafx.h Add source files 2020-09-26 16:20:57 +08:00

Purpose:
--------
This sample shows how to access IIS meta base info through  ADSI from C++.
The sample code is simplified to serve as education purpose.
==========================================================================

functions:
----------
There are three type of commands. ENUM, GET and SET
ENUM command will recursively display each metabase entry and corresponding object type
GET command will display the given ADSI property value.
Set command will set the given ADSI property to given value.
===========================================================

Usage:
------
SimpleADSutil.exe <ENUM|GET|SET> <ADSPATH> [PropertyValue]

Sample:
	SimpleAdsutil.exe enum w3svc/1/root
	SimpleAdsutil.exe get w3svc/1/ServerBindings
	SimpleAdsutil.exe set w3svc/1/ServerBindings ":80:"
==========================================================