Appendix B. Core ADSI Reference
Active Directory Service Interfaces provide the core objects used to script directory services, computer resources, and networks. This appendix provides a quick reference for key interfaces, and their related properties and methods. The reference is not meant to be exhaustive; rather, the focus is on the most commonly used features in Windows scripts.
Using This Reference
ADSI providers implement the interfaces examined in this appendix. In Chapter 21, you learned about system providers, specifically WinNT, LDAP, NDS, and NWCOMPAT. These providers implement different subsets of these interfaces. Because each object implements multiple interfaces and there is almost always overlap between objects, it isn't practical to map out each object separately.
Instead, you'll use Table 21-2 through 21-5 in Chapter 21 and this appendix to map out the core features of an object. For example, if you wanted to determine the complete set of methods and properties that are available for the WinNT Computer
object, you would look at Table 21-3 and see that the object implements IADs
, IADsComputer
, IADsComputerOperations
, IADsContainer
, and IADsPropertyList
. You would then examine each of these interfaces in order to determine available properties and methods that may be available to the WinNT Computer
object.
With the LDAP and NDS providers, keep in mind that GenObject
provides basic services for most objects. For example, with the LDAP Group
object, Table 21-2 shows that ...
Get Microsoft® PowerShell, VBScript and JScript® Bible now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.