Showing tag results for Active Directory

Apr 26, 2005
Post comments count0
Post likes count0

How Can I Add All the Users from an Existing Active Directory Group to a New Group?

ScriptingGuy1

Hey, Scripting Guy! How can I add all the users from an existing Active Directory group to a new group?-- TG Hey, TG. So you have a group (we’ll call it Group A) and you want to create an exact replica of that group (we’ll call it Group B). If we were talking about Text File A and Text File B this would be an easy task: all you’d have to do is m...

Scripting Guy!VBScriptActive Directory
Apr 19, 2005
Post comments count0
Post likes count0

How Can I Tell Whether a Group Member is a User, a Computer, or Another Group?

ScriptingGuy1

Hey, Scripting Guy! How can I tell whether the member of a group is a user, a computer, or another group?-- ON Hey, ON. Interesting question and - to tell you the truth - one we’d never really thought about. It’s easy enough to list all the members of a group; for example, here’s a script that reports back all the members of the Finance Managers...

Scripting Guy!VBScriptActive Directory
Apr 14, 2005
Post comments count0
Post likes count0

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

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
Apr 12, 2005
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Bind to a User Account Using Something Other Than the CN Attribute?

ScriptingGuy1

Hey, Scripting Guy! Can I bind to an Active Directory account using the user’s mailNickname or their sAMAccoutName, something other than the CN?-- MB Hey, MB. When you bind to an account in Active Directory, you need to pass GetObject the account’s ADsPath. That means you need to use a line of code similar to this: The ADsPath is act...

Scripting Guy!VBScriptActive Directory
Mar 23, 2005
Post comments count0
Post likes count0

How Can I Set an Active Directory Attribute Value to NULL?

ScriptingGuy1

Hey, Scripting Guy! How can I set an Active Directory property to NULL? I tried setting the value to an empty string (“”) but it didn’t work.-- JJ Hey, JJ. You know, it’s not like the Scripting Guys to get philosophical; one of the Scripting Guys, for example, bases his entire life on this credo: never answer the phone early on Saturday morning....

Scripting Guy!VBScriptActive Directory