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
770 Active Directory results in Windows Server 2003 [Clear]
Sean Kearney (Honorary Scripting Guy)
List computer accounts in Active Directory not used for XXX days
Featured
JimPompano
This script will list all the computers in Ad and also show the Computer-Description field
(2)
Updated 9/11/2009
Released 9/11/2009
Jeffrey S. Patton
This script will read in an Excel file and delete all the users it finds inside. In addition it will remove their HomeDirectories from the server. This works assuming you set your ADSPath as cell 1. For example


LDAP://OU=Accounts,DC=Company,DC=Com


User-A


User-B
(0)
Updated 5/1/2012
Released 5/1/2012
388 Downloads
Santhosh Sivarajan-
This is an updated version of one of my old scripts -
http://portal.sivarajan.com/2011/04/list-local-administrator-group-members.html based

on the discussion in the
http://sivarajan.com/forum/viewthread.php?tid=59 thread. This updated script
Searches Active Directory (Sea
(9)
Updated 11/8/2011
Released 10/24/2011
2,539 Downloads
Eswar koneti
Recenlty I worked on project for MEd-V where in all the computers that are installed in windows mode are joining to AD but moving to computer's OU which is parent under root domain.So everytime cont move the computers to required OU ,so created a script that runs on schduled basi
(2)
Updated 11/16/2011
Released 11/16/2011
677 Downloads
Vijay_som
Hi, You can change local administrator password of multiple server by using input file. You need to put all server Netbios name on server List. You can assign this script via GPO or running this script on your local computer with AD
Domain admin priviledges.Make sure you have p
(3)
Updated 12/5/2013
Released 10/16/2011
210 Downloads
gestenta
The script enters a do while loop to present the menu where you can pick options to query AD to gather a list of inactive user accounts.A .CSV file is generated and placed locally. The file is then used to disable and if chosen, deleted from Active Directory.This script is usefu
(1)
Updated 5/2/2012
Released 4/16/2012
422 Downloads
Jaap Brasser
This script will return the samaccountname, pwdlastset and if an account is currently enabled or disabled. This script is part of the Active Directory Friday section of my blog.
(0)
Updated 7/26/2013
Released 7/26/2013
160 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
IamMred
This script returns the last logon time of users in Active Directory
(17)
Updated 8/23/2009
Released 8/23/2009
Santhosh Sivarajan-
To update the computer description (description attribute) in Active Directory.
(1)
Updated 10/3/2011
Released 8/2/2011
440 Downloads
Stewart_Bash
 This is a two script set that monitors Account Lockout on Domain Controllers in the enterprise. I have several clients that do not allow automatic account enabling though policy. Consequently, many users get locked out and have to call someone to unlock their accounts. I also ha
(0)
Updated 12/12/2013
Released 12/12/2013
12 Downloads
MichalGajda
AD TrustThe script is in addition to Active Directory PowerShell module that allow administrator to create Active Directory trust relationship between two domains or forests. It allow to create one-way trust or two-way trust.
(0)
Updated 9/29/2012
Released 9/29/2012
266 Downloads
François-Xavier Cat
This function allow you to add a subnet object in your active directory using ADSI
(0)
Updated 11/11/2013
Released 11/11/2013
49 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
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
12 Downloads
61 - 75 of 770 Items