TechNet Gallery - resources for IT professionals

Download resources and applications for Windows 7, Windows Server 2008 R2, Windows Server 2008, SharePoint, System Center, Office, and other products. Find resources written in VB Script, PowerShell, SQL, JavaScript, or other script languages. New resources are added frequently so check often and see what's new.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.
Sort by: rss
38 results in Users and Groups [Clear]
Jaap Brasser
The script can use either a plain text file containing a list of computername or a computer name as input and will add the trustee (AD user or group) as an administrator to the specified computer(s).
The script will report back errors if the account is already a member.
(9)
Updated 7/23/2013
Released 11/2/2012
6,405 Downloads
Sukhija Vikas
Hi Readers,As my love for powershell is growing so is my repository of scripts.This script that I have written has been requested by various community members & by front facing Teams in our organization.By using this script you have to just in put CN of a group (otherwise it will
(2)
Updated 6/2/2013
Released 5/31/2013
1,214 Downloads
Raimund Andrée
Version 2.1 released on September 8 2012 (LocalAccounts 2.1 Binaries.zip / LocalAccounts 2.1 Sources.zip)IntroductionThis module allows managing local groups and user accounts, local group memberhip and some other useful tasks. It is mostly based on the .net classes in System.Dir
(59)
Updated 9/8/2012
Released 11/2/2011
74,056 Downloads
Jagadeesh Devaraj
Use this free tool to clean up your Active Directory domain by identifying unused user and computer accounts This application will search your Active Directory domain for user/computer accounts that match your search criteria, then you can perform a number of actions on the accou
(10)
Updated 4/7/2012
Released 4/7/2012
1,270 Downloads
Boe Prox
The Get-LocalGroupMembership function will query a single or multiple systems (to include remote) for a specified local group and its members. If members are a group (local or domain), the script will then begin to query all
of those groups for members as well. To prevent the p
(4)
Updated 8/12/2013
Released 8/12/2013
307 Downloads
James Anderson
Output to a text file in tab seperated value format "group name, group type, member name, member type" with all domain groups and all their members.
(17)
Updated 9/11/2009
Released 9/11/2009
Tim Springston [MS]
In many enterprise environments an authentication condition can occur which will cause resource access problems for users. This condition is often called “token bloat” or “MaxTokenSize”. This script helps detect that problem.
(1)
Updated 8/28/2013
Released 7/24/2013
267 Downloads
Axel Limousin - ITSI
Checking Security Group Nesting Strategy, searching Circular Nesting or only graphically reporting Nested Security Groups, Draw-ADSecurityGroupNesting Cmdlet helps on those tasks exploring group "memberOf" back-link or "member" attributes and generating a Graphviz file.
(4)
Updated 12/4/2013
Released 10/3/2013
153 Downloads
Monimoy Sanyal
The attached script will scan the AD Domain and list all user accounts in the domain whose password has been set to "Never Expire". This is a handy script for security, auditing and maintenance reasons. The Admin can use this script to implement best-practices
for the organisat
(2)
Updated 9/21/2013
Released 9/20/2013
186 Downloads
Monimoy Sanyal
This Script will list All Groups, Including Nested Groups, Where a specified User-Account is a Member. You need to enter the User's SAM Account Name (Login ID) to use this script. If a User -- Bob Smith, for example --  is a Member of Group-A and Group-B,
and if Group-B is also
(1)
Updated 8/23/2013
Released 8/23/2013
192 Downloads
Aman Dhally
Hi,This is a simple script. make sure before running this script you have RSAT tool installed and ActiVe Directory Module is loaded.You can change the OU with yours.The idea behind this script is simple , if we need to create a multiple group and add similar users to all Group th
(2)
Updated 9/5/2012
Released 6/11/2012
661 Downloads
Sukhija Vikas
Hi Readers,This script is the extension of below scripthttp://gallery.technet.microsoft.com/Export-AD-group-members-6e6c8a9fThe only difference is: It takes input of group names from text file & you can run thisfor multiple groups.You just have to put CN of a group (otherwise it
(0)
Updated 12/13/2013
Released 12/7/2013
12 Downloads
Jaap Brasser
The goal of this script is to grant the destination user all the missing memberships when compared to the source user. Any missing memberships will be added by this script while outputting the changes to the console.This script compares the group membership of two AD users, user1
(5)
Updated 8/13/2013
Released 3/14/2012
684 Downloads
Monimoy Sanyal
This Script will List All OUs and Sub-OUs From Active Directory in the Parent-Child Order as they are arraged in Active Directory and as we see when we open Active Directory Users and Computers -- dsa.msc.ReferenceThere is a fantastic script available here:Hey Scripting Guy -- Ho
(3)
Updated 9/4/2013
Released 9/4/2013
66 Downloads
Monimoy Sanyal
Enter the appropriate AD Group name in the section marked in the script. This script will search the Active Directory for the Group. If found, it will display all members of that Group, including all nested members. This will work for any kind of groups, including sensitive group
(1)
Updated 8/19/2013
Released 8/19/2013
97 Downloads
1 - 15 of 38 Items