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
109 results in User Accounts [Clear]
emirjonb
 Is a simple, the simplest procedure to create automate users on Active Directoryfirst step: create CSV file with Excel transform filesecond: modify the .ps1 file changing the line 1 and 9 as your needsthird: run the script in AD PowerShellDone !(The description should provide mo
(1)
Updated 3/20/2013
Released 3/20/2013
73 Downloads
Monimoy Sanyal
Every Admin has to to do this. The script attached simplifies the Admin's tasks. This script will read multiple User-Names and Group-Names From a txt file and then add the Users to the Group as mentioned in the File; thereby making the User-Account a member of the group. This scr
(3)
Updated 10/1/2013
Released 10/1/2013
77 Downloads
Santhosh Sivarajan-
You can use this PowerShell Script to stamp a value in an attribute. Int he below example, I am stamping a DoNotSync value in altSecurityIdentities attribute. Update the $user.psbase.invokeSet("altSecurityIdentities",$migValue) based on your requirement. You can read more info
(0)
Updated 6/24/2013
Released 6/24/2013
10 Downloads
Angel L. Cruz
List the OU of a single user or a list of users.
(1)
Updated 1/5/2010
Released 1/5/2010
Blancanales
This code demonstrates how to search and retrieve stale or inactive User Objects from Active Directory without any plug-ins.
(3)
Updated 5/28/2010
Released 5/27/2010
BValkenburg
Create a txt file about all the users in the domain:
with specifically AccountExpirationDate and Groupmembership (plus nested groups, plus primarygroup translated from ID to name)
(1)
Updated 5/11/2010
Released 5/10/2010
Paul Frankovich
Pull a specified attribute for a specified user object on all DC's of a specified domain.
(0)
Updated 12/16/2010
Released 12/16/2010
Santhosh Sivarajan-
This script searches 2 Active Directory domains using a common matching attribute value (employeeID).
(2)
Updated 10/24/2011
Released 8/1/2010
157 Downloads
The Scripting Guys - Microsoft
Returns a list of all the user accounts in a Windows NT 4.0 domain named Fabrikam.
(0)
Updated 8/10/2009
Released 8/10/2009
Nuno Mota
This script uses Microsoft RepAdmin to check the password replication of a user’s account across all domain controllers in the current domain.
(1)
Updated 7/28/2011
Released 7/28/2011
Jim Roberts, UK
This script is used to do quick queries of Active Directory from the Powershell command line. Find users by name, OU, logon script or group.
(2)
Updated 9/1/2011
Released 9/1/2011
69 Downloads
rics212
Content-Type : text/html; charset=UTF-8; Set-Cookie : GAPS=1:v1ovxJqL8ymzFUAtcCCZAt-QjUzV6Q:Ky(truncated); Cache-control : no-cache, no-store; Pragma : no-cache; Expires : Mon, 01-Jan-1990 00:00:00 GMT; X-Auto-Login : realm=com.google&args=service%3Dmail%26c(true,); Date : Thu, 1
(1)
Updated 11/26/2011
Released 11/26/2011
18 Downloads
The Scripting Guys - Microsoft
Determines the expiration dates for all the user accounts in a Windows NT 4.0 domain named Fabrikam.
(0)
Updated 8/10/2009
Released 8/10/2009
The Scripting Guys - Microsoft
Uses the Shell object to disable the Guest account on the local computer.
(0)
Updated 8/10/2009
Released 8/10/2009
The Scripting Guys - Microsoft
Binds to a local user account (kenmyer) on a computer named atl-win2k-01, and configures the account to expire on March 1, 2005.
(0)
Updated 8/10/2009
Released 8/10/2009
91 - 105 of 109 Items