Skip to Content
Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647
book

Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647

by Darril Gibson
May 2011
Intermediate to advanced
400 pages
8h 7m
English
Pearson IT Certification
Content preview from Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647

Chapter 36. Manipulating Active Directory with Visual Basic Scripts

This chapter provides information and commands concerning the following topics:

Connecting to Active Directory with a VB script

Creating an OU with a VB script

Creating a user account with a VB script

Modifying the tombstone lifetime

Tip

You should be familiar with the concept of VB scripting when preparing for the 70-640, 70-642, and 70-647 exams.

Connecting to Active Directory with a VB Script

When working with Active Directory, the first step is to connect the instance of Active Directory. The basic syntax to connect with a Visual Basic (VB) script is

set objdom =getobject("LDAP://dn")

Note

LDAP, which is an acronym for Lightweight Directory Access Protocol, must ...

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.
Start your free trial

You might also like

Windows 7 Portable Command Guide: MCTS 70-680, and MCITP 70-685 and 70-686

Windows 7 Portable Command Guide: MCTS 70-680, and MCITP 70-685 and 70-686

Darril Gibson

Publisher Resources

ISBN: 9780132602990Purchase book