Sign in
TechNet Blogs
Technet Blog Images
More ...
Browse by Tags
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
All Tags
>
groups
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Building Clouds
Partner & Customer Solutions
Server & Cloud
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud & Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory
Microsoft Leadership
Brad Anderson - In the Cloud
Hey, Scripting Guy! Blog
Learn about Windows PowerShell
Live Now on Server & Tools Blogs
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Recent Posts
Export Multiple Virtual Machines with Windows PowerShell
Posted
6 hours ago
by
The Scripting Guys
0
Comments
Scripting Wife Comments on Beginner Event 5
Posted
18 hours ago
by
The Scripting Guys
2
Comments
2013 Scripting Games: Advanced Event 5
Posted
1 day ago
by
The Scripting Guys
2
Comments
2013 Scripting Games: Beginner Event 5
Posted
1 day ago
by
The Scripting Guys
0
Comments
Tags
Active Directory
ADSI
arrays hash tables and dictionary objects
backup
backup and system restore
desktop management
domains
general management tasks
getting started
guest blogger
local account management
local accounts and Windows NT 4.0 accounts
operating system
other Directory Services
OUs
Scripting Guy!
scripting techniques
searching Active Directory
shared folders and mapped drives
storage
user accounts
users
VBScript
Weekend Scripter
Windows PowerShell
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
May 2013
(51)
April 2013
(61)
March 2013
(62)
February 2013
(56)
January 2013
(62)
December 2012
(62)
November 2012
(68)
October 2012
(62)
September 2012
(62)
August 2012
(63)
July 2012
(32)
June 2012
(39)
May 2012
(33)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
More
▼
Less
▲
Tagged Content List
Blog Post:
Use PowerShell to Fix Those Annoying NDR Emails
The Scripting Guys
Summary : Microsoft PFE, Norman Drews, shows how to use the Active Directory cmdlets and the Exchange cmdlets to clean up distribution groups. Microsoft Scripting Guy, Ed Wilson, is here. Welcome our guest blogger, Norman Drews. Norman is a Microsoft PFE, and I had the privilege to meet with him when...
on
27 Jan 2012
Blog Post:
Use a Module to Simplify Scripting Local Users and Groups
The Scripting Guys
Summary : Learn how to use a Windows PowerShell module to simplify scripting local users and groups. Weekend Scripter Microsoft Scripting Guy Ed Wilson here. There are two things about a module that I like. The first is it makes it really easy to share with others. The second thing is that it...
on
3 Jul 2011
Blog Post:
Use a Free PowerShell Module to Work with Local Accounts
CraigLieb
Summary : Learn how to use a free Windows PowerShell module to simplify working with local users and groups. Weekend Scripter Microsoft Scripting Guy Ed Wilson here. Well it is officially the Fourth of July weekend in Charlotte, North Carolina. (For those around the globe, the United States celebrates...
on
2 Jul 2011
Blog Post:
Use Parameter Sets to Simplify PowerShell Commands
The Scripting Guys
Summary : In this article, Microsoft Scripting Guy Ed Wilson talks about using parameter sets to simplify Windows PowerShell commands. Microsoft Scripting Guy Ed Wilson here. I had a great time the other night talking to Windows PowerShell MVP Shane Hoey before my presentation to the PowerShell...
on
30 Jun 2011
Blog Post:
Hey, Scripting Guy! How Can I Use Windows PowerShell 2.0 to Find Active Directory Domain Services Groups Not Being Used?
ScriptingGuy1
Hey, Scripting Guy! I need to use Windows PowerShell 2.0 to find groups in Active Directory Domain Services (AD DS) that are not being used. Over the years, we have had several network administrators. Some of them were good, and some had challenges in the “good” category. As a result, there are...
on
22 Jul 2010
Blog Post:
Hey, Scripting Guy! Can I Use Windows PowerShell to Manage AD DS Security Groups?
ScriptingGuy1
Hey, Scripting Guy! I am a MCSE and I still remember my instructor at the training center running around the room shouting, “Users go into groups, and groups get assigned rights and permissions.” Over and over again in different manners and in different language, but always with the same intent, he kept...
on
27 Jan 2010
Blog Post:
Hey, Scripting Guy! How Can I Add a User to Multiple Groups?
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...
on
29 Jul 2009
Blog Post:
Hey, Scripting Guy! How Do I Remove All Group Members in Active Directory?
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...
on
28 Jul 2009
Blog Post:
Hey, Scripting Guy! How Can I Identify All Local Users, Groups, and Services on a Local Computer?
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...
on
26 Mar 2009
Blog Post:
Hey, Scripting Guy! How Can I Create More Than One User, Assign Attribute Values, and Assign the Users to Groups?
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...
on
24 Mar 2009
Blog Post:
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (02/13/09)
ScriptingGuy1
How Do I Troubleshoot Some Scripts Not Executing on Certain Computers? Hey, Scripting Guy! I have VBScripts executed using GPOs per organizational unit. For some reason, the scripts are not executed on certain computers. Sometimes, clicking Repair on Local Area Network connection and logging off...
on
14 Feb 2009
Blog Post:
Hey, Scripting Guy! How Can I List the Members of a Domain Group That Belongs to the Local Administrators Group?
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...
on
20 Mar 2008
Blog Post:
Hey, Scripting Guy! How Can I Get a List of Active Directory Groups That Have Just 1 Member or Fewer?
ScriptingGuy1
Hey, Scripting Guy! We’re trying to straighten out our Active Directory, and in order to do so, I’ve been asked to come up with a list of all the groups that have just 1 member or fewer. How can I write a script that will return this information for me? -- DR Hey, DR. Before we answer...
on
18 Mar 2008
Blog Post:
Hey, Scripting Guy! How Can I Use Windows PowerShell to Add a Domain User to a Local Group?
ScriptingGuy1
Hey, Scripting Guy! I recently came across your article where you showed people how to use VBScript to add a domain user to a local group. How can I do that same task using Windows PowerShell? -- KE Hey, KE. Before we begin we thought we should mention that the Scripting Guy who writes this column...
on
12 Mar 2008
Blog Post:
Hey, Scripting Guy! How Can I List All the Users in an OU Who Are Not Members of a Specified Group?
ScriptingGuy1
Hey, Scripting Guy! How can I get a list of all the users in an OU who are not a member of a specified group? -- TJ Hey, TJ. You know, the Scripting Guys are having so much fun with the 2008 Winter Scripting Games that we just can’t bear to see the excitement come to an end; therefore, we’ve...
on
29 Feb 2008
Blog Post:
Hey, Scripting Guy! How Can I Copy the Membership of a Local Group to a New Local Group?
ScriptingGuy1
Hey, Scripting Guy! I need to “clone” a local group; in other words, I want to create a new group that contains the same members as the original group. However, I can’t find any sort of copy command that would let me do this. How can I copy the membership of a local group to a new local group? -- SO...
on
7 Jan 2008
Blog Post:
Hey, Scripting Guy! How Can I Add a Domain Group to a Local Group?
ScriptingGuy1
Hey, Scripting Guy! How can I add a domain group to a local group? -- DR Hey, DR. Before we begin today, any chance that we could borrow $5 billion, at least until the next payday? Admittedly, it’s not our habit to go around asking for money, especially an amount of money as big as that. However,...
on
4 Jan 2008
Blog Post:
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...
on
8 Dec 2007
Blog Post:
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...
on
7 Dec 2007
Blog Post:
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...
on
30 Nov 2007
Blog Post:
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...
on
29 Nov 2007
Blog Post:
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...
on
20 Sep 2007
Blog Post:
How Can I Return Information For Each Member in a Group?
ScriptingGuy1
Hey, Scripting Guy! How can I write a script that, for each member in a group, returns the member’s name, department, address, title, and description? -- TL-V Hey, TL-V. You would have to mention the word “script,” wouldn’t you? Usually that wouldn’t bother us too much, but in the past 9 days or so...
on
22 Feb 2007
Blog Post:
How Can I Delete All the Users in an Active Directory Group?
ScriptingGuy1
Hey, Scripting Guy! How can I delete all the users in an Active Directory group? -- AA Hey, AA. You know, that’s something we Scripting Guys never thought about: a script that could eliminate all the users in a particular group. The only problem we have with that is: where do we start? For example...
on
13 Sep 2006
Blog Post:
How Can I Convert a Global Security Group to a Universal Security Group?
ScriptingGuy1
Hey, Scripting Guy! How can I convert a global security group to a universal security group? -- BB Hey, BB. We have to tell you the truth, we were pretty excited when we first read your email. Convert a global security group to a universal security group? That sounded like a mad scientist sort of...
on
12 May 2006
Page 1 of 2 (39 items)
1
2