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
63 Active Directory results in Windows 8 > Active Directory [Clear]
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,670 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,292 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
946 Downloads
Ashley McGlone
This script generates a report of all Active Directory OU permissions in the domain. I would advise all Active Directory shops to review this report on a quarterly basis to make sure there are no surprise administrators lurking in your domain.
(6)
Updated 3/23/2013
Released 3/23/2013
1,782 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,265 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,302 Downloads
Ashley McGlone
The functions provided in this module will give you visibility into the status of your SID history throughout the Active Directory Forest, help you translate SID history in NTFS ACLs, and easily target SID history removal.
(11)
Updated 7/9/2013
Released 12/23/2011
1,659 Downloads
François-Xavier Cat
Blog Articles: [2013/11 - Version 1.6] http://www.lazywinadmin.com/2013/11/update-powershell-monitor-and-report.html[2013/10 - Version 1.5] http://www.lazywinadmin.com/2013/10/powershell-monitor-and-report-active.html[2012/03 - Version 1.0] http://www.lazywinadmin.com/2012/03/pow
(5)
Updated 11/28/2013
Released 5/31/2012
302 Downloads
Ashley McGlone
This script is for all of the IT Pros who have inherited an Active Directory environment which they did not build. This script documents the history of schema updates. Now you can finally get some insight on the origins of your directory.
(15)
Updated 9/19/2013
Released 12/19/2011
1,806 Downloads
TSO
Get inactive / old User (which are still enabled) 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
(1)
Updated 8/27/2013
Released 8/27/2013
153 Downloads
Jaap Brasser
This script queries AD with the name of the home folder. If this query does not result in an account or a disabled account the script will list the folder size with the folder path and error message.
(3)
Updated 5/24/2013
Released 10/19/2012
754 Downloads
Monimoy Sanyal
There are occassions in an Admins day-to-day tasks when he/she needs to retrieve the Folder-Size from Local or Remote machines. This program (exe) does the same job. This program reads the Folder Path & Name from a Txt file -- ShareList.txt.
It then retrieves the Folder-Size of
(1)
Updated 9/19/2013
Released 8/21/2013
242 Downloads
Monimoy Sanyal
The attached script will scan the AD Domain and list all user accounts in the domain whose password has been set to "Never Expire". This is a handy script for security, auditing and maintenance reasons. The Admin can use this script to implement best-practices
for the organisat
(2)
Updated 9/21/2013
Released 9/20/2013
190 Downloads
Monimoy Sanyal
This Script will list All Groups, Including Nested Groups, Where a specified User-Account is a Member. You need to enter the User's SAM Account Name (Login ID) to use this script. If a User -- Bob Smith, for example --  is a Member of Group-A and Group-B,
and if Group-B is also
(1)
Updated 8/23/2013
Released 8/23/2013
194 Downloads
ITBigBang
Overview:
This article provides step-by-step procedure about How to query [or] get [or] list all active directory users from a particular domain using PowerShell.
The example PowerShell script will query active directory and list any user whose email address (proxyaddress) ends
(1)
Updated 11/22/2012
Released 11/22/2012
969 Downloads
1 - 15 of 63 Items