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]
TSO
Get inactive / old User (which are still enabled) in your domain as a simple CSV output. Credits tohttp://blog.mattvogt.net/2011/10/06/powershell-last-logon-timestamp-for-single-ho
Run on AD server (2008 or newer)Update the domain and if required the DaysInactiveThis is a simple
(1)
Updated 8/27/2013
Released 8/27/2013
150 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
Santhosh Sivarajan-
Here is a simple PowerShell script which you can use to update the employee ID from a CSV input file.
(4)
Updated 10/3/2011
Released 7/11/2011
854 Downloads
Mr X
In order to provide a better management for password reset of Active Directory user accounts, this script was developed to automatically generate a random password and set it as the new password for a user account. The new user account password will be provided
as part of a UI
(2)
Updated 3/31/2013
Released 3/31/2013
2,346 Downloads
ITBigBang
Overview:
This article provides step-by-step procedure about How to query [or] get [or] list all active directory users from a particular domain using PowerShell.
The example PowerShell script will query active directory and list any user whose email address (proxyaddress) ends
(1)
Updated 11/22/2012
Released 11/22/2012
966 Downloads
François-Xavier Cat
The following script will show how to Unlock Active Directory User account using PowerShell
The goal is to do something simple and functional, no fancy GUI... No need of Active Directory Module or Quest Active Directory Snapin, in my case I used ADSI: [ADSISearcher]
(2)
Updated 10/25/2013
Released 3/26/2013
447 Downloads
Mr X
This script provides an easy and efficient way to upload Employee's Managers in Active Directory based on the use of a CSV file as input.
(3)
Updated 6/2/2013
Released 6/2/2013
3,601 Downloads
The Scripting Guys - Microsoft
Returns information about the local user accounts found on a computer.
(2)
Updated 8/10/2009
Released 8/10/2009
Ben Wilkinson
This script displays the common Active direcory user information.

It uses the Quest cmdlets for this (get-qaduser)
(2)
Updated 12/18/2011
Released 1/14/2011
Santhosh Sivarajan-
Here are a couple of options to modify the Logon Script (scriptPath) value in Active Directory. This script requires PowerShell Active Directory module.
(0)
Updated 1/26/2012
Released 7/22/2011
458 Downloads
Jaap Brasser
This PowerShell function takes a user name and a password as input and will verify if the combination is correct. The function returns a boolean based on the result.
(1)
Updated 5/10/2013
Released 5/10/2013
180 Downloads
AndrewDHill
Summary
This script will allow you to bulk delete stale computer accounts in Active Directory from a CSV file containing the computerssAMAccountName. The accountname is then compared against AD for a matching DN, when a match is found the account is deleted from AD.
The script
(3)
Updated 4/4/2012
Released 4/4/2012
821 Downloads
Weslee db
This is an ldap query that will show you all of the user accounts that have been created since a specific date in an active directory environment. This will help you identify in a fast and easy way what user accounts have been created since a specific date.
This can be usefull
(0)
Updated 12/9/2013
Released 12/9/2013
11 Downloads
Richard Mueller
PowerShell script to assign the hours when users are allowed to logon to the domain
(4)
Updated 4/30/2013
Released 8/10/2011
325 Downloads
16 - 30 of 109 Items