>
Repository

Script 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
279 results in Active Directory [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
HicanNL
Note: This script is tailored for the project I used it in. It should work out of the box (by only changing the $location variable), but sometimes it doesn't (because of the configuration of Active Directory, missing of the AD Module, etc. etc). Most of the times when it doesn't
(49)
Updated 6/12/2013
Released 4/26/2012
25,381 Downloads
Rich Prescott
One task that every systems administrator has to go through at some point is the creation of new user accounts. Powershell makes this process simple and adds additional functionality, such as the ability to set defaults and import users from CSV.
(101)
Updated 12/4/2012
Released 10/1/2011
48,503 Downloads
Jaap Brasser
The script can use either a plain text file containing a list of computername or a computer name as input and will add the trustee (AD user or group) as an administrator to the specified computer(s).
The script will report back errors if the account is already a member.
(9)
Updated 7/23/2013
Released 11/2/2012
6,407 Downloads
Santhosh Sivarajan-
Add Users to a Group using a PowerShell Script C2
(34)
Updated 12/6/2011
Released 8/2/2011
13,080 Downloads
Rahmat Fedayizada
 here is the Script, which create the AD account from a CSV file and as well the mailbox for Exchange 2010, add to spcified groups, and confirmation email will be send to your email using your outlook.genrate success and error logfirst it will check if user already exist in AD, i
(12)
Updated 5/7/2013
Released 3/19/2013
4,652 Downloads
Jason W


  This function will locate the computer that processed a failed user logon attempt which caused the user account to become locked out.

 The locked out location is found by querying the PDC Emulator for locked out events (4740). 

 
(8)
Updated 3/20/2013
Released 12/7/2012
3,281 Downloads
TSO
Get inactive / old computer in your domain as a simple CSV output. Credits tohttp://blog.mattvogt.net/2011/10/06/powershell-last-logon-timestamp-for-single-ho
Run on AD server (2008 or newer)Update the domain and if required the DaysInactiveThis is a simple example and the Filte
(1)
Updated 8/27/2013
Released 8/27/2013
933 Downloads
HicanNL
This script will create groups in Active Directory based on the settings in the input file (see the CSV file below this script for an example of the input file used). These settings can, of course, be changed or extended.

The script does a check if the group that needs to be c
(17)
Updated 2/21/2013
Released 8/8/2012
4,240 Downloads
Rich Prescott
ACSA was built with the Helpdesk administrator in mind. Troubleshooting desktop issues requires a vast array of tools and knowledge. ACSA brings those tools together in one central location and adds additional functionality.
(50)
Updated 1/8/2013
Released 7/31/2011
14,396 Downloads
Sean Kearney (Honorary Scripting Guy)
List computer accounts in Active Directory not used for XXX days
(60)
Updated 1/8/2010
Released 12/23/2009
Eric Wright - DiscoPosse.com
A lightweight PowerShell script to query your Active Directory servers searching for active and in-use/disconnected sessions on the Console and through RDP.

Requires Active Directory PowerShell module and the QWINSTA command (ships with Windows 2008 R2)
(2)
Updated 10/20/2012
Released 10/20/2012
1,319 Downloads
Rich Prescott
This script mimics the basic functionality of the Add-Computer cmdlet (with reduced functionality).  It prompts the administrator for credentials to add a computer to the domain.  It then retrieves the WMI ComputerSystem object and uses the JoinDomainOrWorkgroup
method to join
(26)
Updated 6/17/2012
Released 9/13/2011
4,299 Downloads
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.
(86)
Updated 1/22/2013
Released 7/7/2011
36,723 Downloads
Eric Wright - DiscoPosse.com
This script finds user accounts with expiring passwords and sends a notification email with an attachment containing instructions. You will need to modify the Help Desk email address, log location and instructions document and location before implementing. 
(13)
Updated 10/16/2011
Released 10/16/2011
2,694 Downloads
Doug Symalla
This script will dump the membership of privileged groups in the domain (including recursing through nested groups). Also, it will report password ages of these privileged users. Some output is reported to the screen, and all output is dumped to a CSV file.
(12)
Updated 4/25/2013
Released 4/8/2013
1,261 Downloads

Couldn't find the script you were looking for?

1 - 15 of 279 Items