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]
Paul Frankovich
This script retrieves a users last logon time from all domain controllers in a domain with built-in support for mutliple trusted domains.
(4)
Updated 12/27/2010
Released 12/21/2010
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. A computername can be specified to check account details on remote systems.
(0)
Updated 5/20/2013
Released 5/20/2013
157 Downloads
Boe Prox
This is script will first ask for a computername and then will scan the Win32_UserProfile WMI class and present the user with all of the possible user profiles to remove.
(2)
Updated 2/22/2012
Released 1/27/2011
1,219 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
Greiginsydney
 Profiles For Lync ("P4L") fills what has been to date an annoying gap in Lync's functionality, especially for partners/integrators: with P4L it’s as easy as clicking a button to logout of Lync and log back in with
another set of credentials – and even into another system!
(15)
Updated 10/6/2012
Released 11/28/2011
Nfields03
This powershell script searches a specified OU tree in AD for accounts that have been disabled longer than a certain period of time and then deletes them.  User accounts can be whitelisted from the cleanup process and once complete, the script compiles a nice HTML report and emai
(2)
Updated 9/8/2011
Released 9/8/2011
552 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
jrv
Select a list of properties to be extracted from AD user object.This Advanced Function uses the DirectoryServices,DirectorySearcher class. This makes it very fast and lightweight. the [adsisearcher' is not eassily usable for many PowerSHellusers because it always wrps each prop
(8)
Updated 9/27/2012
Released 8/21/2011
700 Downloads
Jim Britt [MSFT]
This downloadable content (SMA-Build-Exchange-Distribution-List.zip) introduces a collection of example Service Management Automation (SMA) Runbooks that you can use to get acquainted with the platform introduced
with System Center 2012 R2.  This download is supported by the fo
(0)
Updated 8/15/2013
Released 8/15/2013
119 Downloads
Monimoy Sanyal
User-Account Management -- Tasks like create new user, enable/disable user accounts, modify Group-Membership -- ask any Admin and all will agree this is their day-to-day routine. Hence, this tool. This is the One-Stop tool for admins to carry-out their daily administrative tasks
(2)
Updated 10/17/2013
Released 10/17/2013
252 Downloads
Monimoy Sanyal
Recently, I had to work on a situation where I had to get a list of all User-Accounts in the domain which have Alternate Recipient address configured. And it was obvious that having a script to accomplish the same task is the best way to go about achieving the desired result. Hen
(1)
Updated 9/28/2013
Released 9/28/2013
58 Downloads
Monimoy Sanyal
The attached script will assist the Admin to list all User-Accounts in the Domain which are Locked. Retrieving this information will further assist the Admin to take appropriate action on these User-Accounts. If required, the Admin can unloack all these user-accounts at one go by
(0)
Updated 10/27/2013
Released 10/27/2013
72 Downloads
Draguaine
This script will move all printers that are mapped to an old print server and re-map them to the new print server. The script will also transfer the default printer (if one exists and is pointed to the old print server). This script is also silent and will delete itself when it i
(0)
Updated 12/5/2013
Released 12/5/2013
14 Downloads
Anthony Guimelli
This script gets users from the Active Directory from which it is run that are three years inactive (which can be changed via the $yearsInactive variable) and outputs the list to a csv file with other attributes of interest
including create date, password last set, last logon,
(3)
Updated 9/15/2012
Released 5/25/2012
815 Downloads
Dai Webb
This PowerShell script will search Active Directory for any user accounts that are set to expire in the next 7 days.  The output will be stored in a CSV file and emailed to pre-defined recipients.
(0)
Updated 8/6/2013
Released 8/6/2013
76 Downloads
31 - 45 of 109 Items