Showing tag results for Active Directory

Oct 8, 2004
Post comments count0
Post likes count0

How Can I Add a Domain User to a Local Administrators Group?

ScriptingGuy1

Hey, Scripting Guy! How can I add a domain user to the local Administrators group in a computer?-- MB Hey, MB. One reason we started doing this column was because we wanted to know more about what system administrators do (and script) on a regular basis. As it is, sitting here in our luxurious penthouse suites atop the Microsoft campus, we’re no...

Scripting Guy!VBScriptActive Directory
Sep 24, 2004
Post comments count0
Post likes count0

How Can I Get a List of Exchange Servers Assigned to My Users?

ScriptingGuy1

Hey, Scripting Guy! How do I get a list of the Exchange servers (msExchHomeServerName) assigned to the users in an OU?-- BG Hey, BG. As you probably already figured out, you have two issues: you need to get a list of all the users in an OU, and then you need to figure out which Exchange server they’ve been assigned. Believe it or not, this is prob...

Scripting Guy!VBScriptActive Directory
Sep 17, 2004
Post comments count0
Post likes count0

How Do I Bind to a User Account in a Sub-OU?

ScriptingGuy1

Hey, Scripting Guy! How do I bind to a user account when the user is in a sub-OU? Code like this doesn’t work: LDAP://CN=Ken Meyer, OU=NA\Human Resources, DC=fabrikam, dc=com.-- RD Hey, RD. The past few days we’ve done some lengthy answers to questions, so we decided to be a little lazy today (hey, it is Friday!) and take an easy one. In your Acti...

Scripting Guy!VBScriptActive Directory
Sep 2, 2004
Post comments count0
Post likes count0

How Can I Enumerate All the Objects in an Active Directory OU?

ScriptingGuy1

Hey, Scripting Guy! How can I enumerate all the objects in an Active Directory OU?-- RB Hey, RB. By the way, thanks: it’s always nice to get an easy question every once in awhile! Enumerating all the objects in an OU is almost embarrassingly-simple: by default, any time you bind to an OU using ADSI you automatically get back a collection of all th...

Scripting Guy!VBScriptActive Directory
Aug 24, 2004
Post comments count0
Post likes count0

Why Doesn't My Search Return All My User Accounts?

ScriptingGuy1

Hey, Scripting Guy! I’m trying to pull a list of all my users out of Active Directory. I’m using ADO to search for these users, but no matter what I do I can only get 1,000 user names, even though we probably have 10 times that many user accounts. What could I be doing wrong?-- MC, Athens, GA Hey, MC. Boy, if we had a nickel for every time we’ve b...

Scripting Guy!VBScriptActive Directory