Showing results for groups - Scripting Blog [archived]

Sep 23, 2005
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I add a domain group to the local Administrators group?-- SS Hey, SS. You know, people think of the Scripting Guys as striding powerfully through the world of system administration scripting, confident, almost-arrogant in the knowledge that they can meet any challenge thrown at them. We like to think of ourselves as b...

Scripting Guy!VBScriptActive Directory
Sep 21, 2005
Post comments count1
Post likes count0

How Can I List All the Groups in an OU?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I list all the groups in an OU?-- MK Hey, MK. You know, sometimes people ask us a question and then immediately apologize for having asked it, believing that the question is “way too easy for you guys.” In turn, that seems to imply that the Scripting Guys aren’t really guys at all but simply great masses of intellectu...

Scripting Guy!VBScriptActive Directory
Aug 17, 2005
Post comments count0
Post likes count0

How Can I Enumerate All the Universal Groups in Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I enumerate all the universal groups in Active Directory?-- MW Hey, MW. You know, we’re glad you asked this question. Any time people talk about Active Directory then tend to talk about groups as if Active Directory had only one type of group. It doesn’t. Instead, there are six types of Active Directory groups: global...

Scripting Guy!VBScriptActive 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
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
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