Chapter 6. Programmatic Computer and Service Manipulation

   


In addition to basic namespace manipulation, ADSI provides developers and administrators with a powerful set of programmatic interfaces for querying and manipulating attributes of computers throughout the enterprise.

The read-only properties exposed by the Windows NT service provider in the IADsComputer interface are well suited to controlling program flow to assure a machine meets certain administrator/developer-specified criteria, such as restricting an application to run on Windows NT only.

The IADsService interface allows you to modify the default behavior of installed services, including the ability to change the display name and path to the service executable.

Lastly, using the IADsServiceOperations interface, you can start, stop, pause, continue, and query the status of installed services for any given machine.

This chapter will cover the use of these three interfaces as they relate to the Windows NT service provider.


   
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