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]
Jeffrey S. Patton
This script searches ActiveDirectory for computer accounts, for each computer account it removes the specified user account.
(0)
Updated 2/14/2012
Released 7/28/2011
95 Downloads
Nuno Mota
Use WMI to translate a SID to User Account and/or a User Account to SID
(1)
Updated 7/29/2011
Released 7/29/2011
Ben Wilkinson
check each domain controller in the domain to find specific user information that is not replicated between DC's. The script checks each DC for the latest record. The script calls another script to find the names of each domain controller.
(1)
Updated 4/16/2013
Released 5/2/2012
252 Downloads
JDBaits
This VB script prompts for a local account user name and a date. It then sets the entered account to expire on the entered date. It currently will detect a user canceling the script and exit properly as well as reprompt the user if they click Ok without having entered anything in
(1)
Updated 12/2/2011
Released 12/2/2011
246 Downloads
The Scripting Guys - Microsoft
Returns information about the local groups found on a computer.
(0)
Updated 8/10/2009
Released 8/10/2009
Ben Wilkinson
This script checks all DC's for the bad password times and returns all of the results.
(0)
Updated 12/7/2012
Released 2/16/2011
Santhosh Sivarajan-
This script generates Last Logged-On User / DefaultUserName information from an input file (input.csv) which contains computer names.
(1)
Updated 1/26/2012
Released 7/16/2010
360 Downloads
Rick Heiter
** Module lib_bool_thms Imports lib_bool_funs is_true_not_is_false = ... : {b:bool}iff (is_true b) (not (is_false b)) bool_contrapos = ... : {a,b|bool}((is_true a)->is_true b)->(is_false b)->is_false a bool_contradiction = ... : {b|bool}(is_true b)->(is_false b)->absurd
(0)
Updated 8/25/2012
Released 8/25/2012
111 Downloads
petey212
looks for a security group (domain local or global) and if not there creates it then adds members. Reads in the details of the group name, group type and people to add from a csv file.
(2)
Updated 10/21/2010
Released 10/21/2010
Roberto da Silva Junior
Create Contoso Users in Active Directory
This script creates 270 + users in Active Directory copied from the Contoso WorkerInformation Environment.
(7)
Updated 11/12/2011
Released 11/12/2011
393 Downloads
MasterOfTheHat
Find all users in a given OU who have not authenticated to the domain in a given number of days or have never authenticated to domain. Script uses both the lastLogonTimestamp and pwdLastSet attributes of the user object to determine when the user last authenticated.This includes
(0)
Updated 2/18/2013
Released 2/18/2013
133 Downloads
Fridden
I needed a flexible script that would allow me to search for various groups of users in our active directory, so I came up with Get-Userinfo.
(0)
Updated 6/26/2012
Released 6/26/2012
33 Downloads
waynehoggett
This PowerShell Script provides a simple user interface to get the username of the logged user on a specific system. There is also the option to use alternate credentials (for perimeter networks, workgroups, etc).
(4)
Updated 3/26/2011
Released 3/26/2011
The Scripting Guys - Microsoft
Accesses the userAccountControl to retrieve attribute values for the local user account kenmyer on a computer named atl-win2k-01. These attribute values include such things as acc
(0)
Updated 8/10/2009
Released 8/10/2009
Nfields03
Monitors AD groups in an OU and deletes accounts that have been in the groups for more than 2 weeks. Configured for generic AD objects, so should work for both user and computer accounts.
(0)
Updated 11/29/2012
Released 11/29/2012
103 Downloads
61 - 75 of 109 Items