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

Feb 2, 2005
0
0

How Can I Get a List of All My Windows Server 2003 Computers?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I gather the names of all the computers in my domain that are running Windows Server 2003?-- AS Hey, AS. When we choose questions to answer for this column, we try to take questions from different areas of scripting. That does two things for us: it keeps us from being the answers-only-questions-about-say-scripting-...

Scripting Guy!VBScriptActive Directory
Dec 7, 2004
0
0

How Can I Return a List of All My Computers Except Those in a Specified OU?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I need to get back a list of all the computers in my domain, except for the computers which are in our Test Lab OU. How do I do that?-- AM Hey, AM. This seems to be one of the hot new trends in the IT world: in the past two weeks we’ve gotten three similar emails, all involving administrators who want to exclude a ...

Scripting Guy!VBScriptActive Directory
Nov 12, 2004
0
0

How Can I Tell If an OU Has Any User Accounts In It?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I tell if an OU has any user accounts in it?-- RL Hey, RL. As a matter of fact, there is a way to determine whether or not an OU contains any user accounts: all you have to do is search just that OU for nothing but user accounts. When you perform a search, any “hits” (in this case, any user accounts that are found...

Scripting Guy!VBScriptActive Directory
Aug 24, 2004
0
0

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

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

Scripting Guy!VBScriptActive Directory