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]
Raimund Andrée
Managing Active Directory Sites, Site Links and Subnets very easily with PowerShell. Also checking the Active Directory Replication is easy and richer than repadmin.exe, the cmdlets in this module do return objects and not just text. So no more boring test parsing.
Featured
Richard Mueller
A PowerShell Version 1.0 script to enumerate the direct members of a large Active Directory group. This script uses ADO range retrieval to overcome the limit of 1500 values that can be retrieved for a multi-valued attribute like the "member" attribute of a group.
(3)
Updated 11/28/2011
Released 11/28/2011
568 Downloads
MichalGajda
Export Active Directory Users properties to csv file without using PowerShell AD modules. It use ADSI connector to get users data from domain controller and next the script converts it to csv file.
(9)
Updated 9/5/2011
Released 8/18/2011
920 Downloads
Santhosh Sivarajan-
Here is a PowerShell script which you can use to test the admin$ share access. This script is useful when you are performing computer migrations. You can use a CSV file as an input file.
(3)
Updated 12/6/2011
Released 8/1/2010
530 Downloads
Zachary Loeber
This function will aggregate sub-folders within a folder on a server and attempt to associate them with user IDs within a domain and provide additional information. This script can also be used to move folders for disabled or non-existent accounts.
(2)
Updated 7/22/2013
Released 6/21/2013
Nicolas HAHANG
This simple script allows you to copy the users that belong to a source group to a destination group
(0)
Updated 5/3/2013
Released 5/3/2013
Eric Wright - DiscoPosse.com
In my organization I have chosen to organize my Active Directory OU structure based on physical
locations. To tackle this issue, I’ve created a PowerShell script that will run as a batch process and will move the Computer objects into OUs based on their IP address.
(4)
Updated 9/27/2011
Released 9/27/2011
410 Downloads
The Scripting Guys - Microsoft
Determines the date when a user password will expire.
(2)
Updated 8/10/2009
Released 8/10/2009
Abhishek Ranjan P
An article on Active Directory Replication and how it works and troubleshoot.
(1)
Updated 2/27/2013
Released 2/27/2013
375 Downloads
Axel Limousin - ITSI
Count AD Files Size and Objects
Syntax:
Get-ADCount <OutFormat> <DomainNC> <Scope>
Example:
Get-ADCount Host
Get-ADCount Host "DC=mydom,DC=com" Files
(0)
Updated 3/4/2013
Released 3/4/2013
127 Downloads
Axel Limousin - ITSI
For each user from LDAP path you provide, this script checks all Domain Controllers from one or all Sites, keeps only the most recent LastLogon Date and Time and displays or outputs into CSV file.
(0)
Updated 3/24/2013
Released 2/15/2013
192 Downloads
Boe Prox
Update to original password generator form. Uses WPF as opposed to Windows Forms to create the front end UI. Able to generate passwords and allows for either printing of the form or just display the password.
(2)
Updated 2/22/2012
Released 7/15/2011
439 Downloads
Qasim Zaidi
The script will convert objectSID to S-1-5-21-xxx format and save the user/group names alongwith their SID values to an Excel Spreadsheet
(3)
Updated 1/3/2011
Released 5/20/2010
Santhosh Sivarajan-
This PowerShell Script can be used generate reports on user home folder (homedirectory) in Active Directory.  You can see more info in -

http://portal.sivarajan.com/2011/10/user-home-folder-local-pathpowershell.html  #
# www.sivarajan.com
#
$ObjFilter = "(&(objectCategory=p
(3)
Updated 12/6/2011
Released 10/19/2011
741 Downloads
Jeffrey S. Patton

This script queries ActiveDirectory for a list of computer objects. For each computer it finds it pulls Username, SerialNumber, MacAddress, and IpAddress from WMI. These properties are then stored back into the computer object in ActiveDirectory. The following is the mapping of
(1)
Updated 3/29/2012
Released 3/29/2012
615 Downloads
Zachary Loeber
Use powershell with graphviz to create an Active Directory diagram of all site connections between servers. Additionally, I’ve included some code which displays site connection options.
(0)
Updated 10/6/2013
Released 10/6/2013
101 Downloads
106 - 120 of 770 Items