Showing tag results for groups

Dec 8, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Map Drives Based on Membership in an Active Directory Group When the User Belongs to Multiple Groups?

ScriptingGuy1

Hey, Scripting Guy! In yesterday’s column you showed a sample script that mapped a drive based on membership in an Active Directory group; along the way, you brought up the possibility of a user belonging to more than one group. “Suppose you have two groups,” you said. “What happens if a user is a member of both groups?” You then said, and I quot...

Scripting Guy!VBScriptActive Directory
Dec 7, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Map Drives Based on Membership in an Active Directory Group?

ScriptingGuy1

Hey, Scripting Guy! I need to map a drive based on a user’s membership in a particular Active Directory group. However, I have a twist as well: I need to map a different drive depending on whether or not the user is a manager. In other words, I need to map a drive based on both group membership and job title. How do I do that?-- SA Hey, SA. You ...

Scripting Guy!VBScriptActive Directory
Nov 30, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Remove Everything From an Active Directory Group Except Other Groups?

ScriptingGuy1

Hey, Scripting Guy! How can I remove all the members of a group unless that member is another group? I need a group that has only other groups as members, no individual users, computers, contacts, etc.-- TH Hey, TH. You’ll have to be patient with us this morning; after all, we’re sending this column over the Internet and, well, you know how long...

Scripting Guy!VBScriptActive Directory
Nov 29, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Determine the Manager for All the Groups in Active Directory?

ScriptingGuy1

Hey, Scripting Guy! How can I return a list of all my Active Directory groups, along with the name of the user responsible for each group?-- PL Hey, PL. You know, we realize that most of you are thinking, “Wow, this has been a busy month for you Scripting Guys. You guys really deserve to take some time off.” Well, as much as we’d like to – what’...

Scripting Guy!VBScriptActive Directory
Sep 20, 2007
Post comments count0
Post likes count0

How Can I Count the Number of Users in a Group?

ScriptingGuy1

Hey, Scripting Guy! How can I count the number of users in an Active Directory group?-- TP Hey, TP. You know, it’s our sad duty to confirm that the reports currently sweeping the Internet are true. Without wishing to alarm anyone, we must admit that one of the Around the World With Dr. Scripto Bobblehead pictures appears to be a fake! (And no, w...

Scripting Guy!VBScriptActive Directory