Summary

   

Summary

In addition to the capability to create COM objects, Visual Basic is an ideal language to help you learn ADSI, as you will need to know the datatypes required and returned by each of the ADSI interface properties and methods .

Also, the Visual Basic IDE allows you to issue commands to production and test environments to perform administrative tasks on a single machine or the entire enterprise. If you require the ability to perform an administrative task on multiple machines, you may soon find yourself launching Visual Basic instead of the MMC to issue the commands. The time spent developing a simple script can yield tremendous returns on your time investment if the number of machines is significantly large.

Although ADSI is at home when it is implemented directly in an ASP, some significant advantages to encapsulating ADSI code in a COM server are

  • The reduction of interdependence of business and application code in applications.

  • The capability to share code between developers, regardless of development language.

  • The capability to impersonate a privileged account to create a delegation model using MTS/DCOM.

Although the exercises in this chapter have merely scratched the surface of COM server development in Visual Basic, hopefully you discovered how easy it is to create a COM object and the many advantages of doing so.

If you do not have access to Visual Basic or do not want to implement your code segments in a COM server, you still have several options. You can download a precompiled COM server from http://www.newriders.com/adsi or you can implement code directly in an ASP by using the VBScript examples found in Appendix A.

In addition, all code examples can be downloaded from http://www.newriders.com/adsi to save the time of inputting the examples by hand. No matter which development strategy you select, by the end of this book, you should have little doubt that ADSI is one of the most important advancements to help enable efficient large-scale enterprise administration.


   
Top


Windows NT. 2000 ADSI Scripting for System Administration
Windows NT/2000 ADSI Scripting for System Administration
ISBN: 1578702194
EAN: 2147483647
Year: 2000
Pages: 194
Authors: Thomas Eck

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net