Appendix B. ADSI Documentation

For network administrators, one of the most frustrating aspects of using ADSI is trying to match what is found in Active Directory Users and Computers with what is expected in a Microsoft Visual Basic Script (VBScript) that uses ADSI to manipulate Active Directory. Although it is possible to use ADSI Edit to view the field names, reviewing Table B-1 through Table B-20 will lessen some of your learning curve.

Computer Object Mapping

Table B-1 through Table B-4 show computer object names displayed in the Active Directory Users and Computers tool as they map to names available via ADSI scripting.

Table B-1. Computer Object General Property Sheet

UI Label

Active Directory attribute

Comments

Computer Name (pre–Microsoft Windows ...

Get Microsoft® Windows® Scripting Self-Paced Learning Guide 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.