Skip to Content
Microsoft® PowerShell, VBScript and JScript® Bible
book

Microsoft® PowerShell, VBScript and JScript® Bible

by William R. Stanek, James O'Neill, Jeffrey Rosen
February 2009
Intermediate to advanced
911 pages
17h 5m
English
Wiley
Content preview from Microsoft® PowerShell, VBScript and JScript® Bible

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Windows PowerShell

Learning Windows PowerShell

Mark Long
Learn PowerShell Core 6.0

Learn PowerShell Core 6.0

David das Neves, Jan-Hendrik Peters

Publisher Resources

ISBN: 9780470386804Purchase book