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
12 results in Domain Controllers [Clear]
Boe Prox
This advanced function allows you to transfer or seize the FSMO roles to a specified Domain Controller.
(2)
Updated 3/9/2012
Released 6/10/2011
202 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
signalwarrant
** THIS SCRIPT IS PROVIDED WITHOUT WARRANTY, USE AT YOUR OWN RISK **     This script uses PSremoting and the Invoke-Command CMDlet to remotely run a few commandson a particular server and write the results to a logfile. I have included a couple different version of the DCdiag com
(0)
Updated 9/14/2012
Released 9/14/2012
219 Downloads
Doug Symalla
This script will discover all DCs in the forest, determine which run DNS and report which credentials (if any) are configured for dynamic DNS.
(0)
Updated 4/3/2013
Released 4/3/2013
119 Downloads
Monimoy Sanyal
Attached herewith is the zip file containing the AD Site tool. This tool will fetch all Active Directory Site-Based Information, for example:>> All Sites in a Domain>> All Domain Controllers in a Particular AD Site>> All Global Catalog Servers in the same AD Site>> The Bridge-Hea
(4)
Updated 8/26/2013
Released 8/26/2013
68 Downloads
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
Michel de Rooij
Configures Anti-Affinity in Microsoft Failover Clusters to influence fail-over behavior and prevent Cluster Groups (e.g. Virtual Machines) from being served by the same host, unless that's the only option left.
(1)
Updated 7/22/2013
Released 7/22/2013
60 Downloads
Monimoy Sanyal
At times, Admins need to know quickly what all Domain Controllers are there in one particular AD site. And then, they need to determine what are the replication partners of those DCs. This script should help the Admins in getting the same information. Such information come in han
(1)
Updated 9/1/2013
Released 9/1/2013
31 Downloads
Monimoy Sanyal
Enter a Machine Name. This script will check and determine is the Server, whose name has been provided, is a Domain Controller or Not. Based on the result, the administrator can perform other tasks, if the Server is a Domain Controller.                                            
(1)
Updated 9/5/2013
Released 8/18/2013
42 Downloads
Ben Wilkinson
This simply connects you to your preferred domain controller using the Quest AD cmdlets.

Handy if you switch between domain.
(2)
Updated 6/12/2011
Released 6/12/2011
Monimoy Sanyal
This script will output the name of the Active Directory site where a particular Domain Controller is Located. The User needs to provide the NetBIOS name of the Domain Controller in the portion of the script where the appropriate comment is present. Once the DC Name is provided,
(1)
Updated 8/18/2013
Released 8/18/2013
CityofNampa
The essence of this script is 'Active Directory Cleanup'. In its basic form, the script will disable and move computer objects that have not communicated with Active Directory in a specified number of days. It also has an option to restore any computers that were disabled.
(1)
Updated 9/21/2012
Released 9/21/2012