Showing tag results for groups

Jul 29, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Add a User to Multiple Groups?

ScriptingGuy1
ScriptingGuy1

Hey Scripting Guy! It seems that I can never find what I need anymore. I am looking for a Windows PowerShell script that will add a user to multiple groups. The user and the group are in the same organizational unit, and I do not want to have to run the same script multiple times to add a user to multiple groups. It should be easy to do, right?-- W...

Scripting Guy!Windows PowerShellActive Directory
Jul 28, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Do I Remove All Group Members in Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey Scripting Guy! I have several groups created in Active Directory whose membership has changed dramatically. Rather than go through a long list of users and try to manually clean up the list, I would like to just delete all the users from the group so that I can later add the newly approved members to the group. I have checked around, and there ...

Scripting Guy!Windows PowerShellActive Directory
Mar 26, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Identify All Local Users, Groups, and Services on a Local Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have several computers that seem to be identical, but they act like they are different. I mean, the same person set the computers up, so I imagine he followed the checklist and the machines should therefore be the same. But something weird is going on. What I need is a script that will tell me which services are defined on a...

Scripting Guy!Windows PowerShelloperating system
Mar 24, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create More Than One User, Assign Attribute Values, and Assign the Users to Groups?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I enjoyed your article yesterday about creating a local user account. However, for my purposes I need to be able to create more than one user. Also I would like to be able to assign values to attributes such as the description. If it is not asking too much, I would also like to be able to assign the user to a group. After all,...

Scripting Guy!Windows PowerShellgroups
Mar 20, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I List the Members of a Domain Group That Belongs to the Local Administrators Group?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I manage over 300 servers in our environment. For each server I need to determine the members of the local Administrators account. It’s easy to get a list of local users and domain users that belong to the Admin account; it’s also easy to get a list of any domain groups that belong to the Administrators account. However, what ...

Scripting Guy!VBScriptActive Directory