Showing results for searching Active Directory - Scripting Blog [archived]

Sep 29, 2005
0
0

How Can I Determine the Logon Name for a User?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine the user logon name for a user named John Smith?-- FR Hey, FR. You know, we’d like to tell you how to determine the user logon name for a user named John Smith, but we can’t: that’s because we have a specific list of names representing the only user names we can reference in one of our sample scripts. Unfo...

Scripting Guy!VBScriptActive Directory
Aug 22, 2005
0
0

How Can I Determine Which Attributes are Replicated to the Global Catalog?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I find out which attributes are replicated to the global catalog?-- AS Hey, AS. When people envision the future, they often foresee enormous skyscrapers, buildings so large that you might live your whole life without ever leaving them: you’ll live there, work there, go to school there, buy your groceries there, etc. (...

Scripting Guy!scripting techniquesVBScript
Jun 27, 2005
0
0

How Can I Retrieve a List of OUs that have a Specific Word in Their Name?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! We have a number of OUs in our domain that have the word Servers in the OU name. How can I retrieve a list of those OUs?-- AM Hey, AM. One of the Scripting Guys has a 15-year-old son who, whenever he hears his father tell a story about the good old days, rolls his eyes and says, “You’re just one of those old guys still living...

Scripting Guy!VBScriptActive Directory
May 12, 2005
0
0

How Can I Get a List of All the Disabled User Accounts in Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the disabled user accounts in Active Directory?-- RT Hey, RT. Now, just remember, you asked for this. We have a script that returns a list of disabled user accounts in Active Directory; the only problem is that part of the script is a little cryptic (to say the least), and we won’t be able to fully...

Scripting Guy!VBScriptActive Directory
Apr 14, 2005
0
0

How Can I Display a Multi-Valued Attribute Returned from an Active Directory Search?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I display a multi-valued attribute that I get back when using ADO to search Active Directory?-- ES Hey, ES. For the most part Active Directory is a script writer’s paradise; with very few exceptions anything you can do using the Active Directory snap-ins and GUI tools you can also do using a script. Of course, that do...

Scripting Guy!VBScriptActive Directory