TechNet Gallery - resources for IT professionals

Download resources and applications for Windows 10, Windows 8, Windows 7, Windows Server 2012, 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
2740 results in Powershell [Clear]
This function is a piece of PSWindowsUpdate module to manage Windows Update on a computer system running Windows. Whole module contain set of functions to check, download and install updates from PowerShell.
This function is a piece of PSWindowsUpdate module to manage Windows Update on a computer system running Windows. Whole module contain set of functions to check, download and install updates from PowerShell.
Updated 12/18/2014
Released 2/14/2011
OneScript Team
This PowerShell Script illustrates how to create a Shutdown ,Restart or Logoff Windows 8 tile to the Start menu.
Updated 11/18/2014
Released 11/7/2012
This script will create users in Active Directory based on the settings in the input file (see the Excel / CSV file below this script for an example of the input file used). These settings can, of course, be changed or extended (check this

Microsoft Technet Link to get an over
Updated 6/15/2015
Released 4/26/2012
Craig Lussier
These PowerShell scripts will automate downloading and installing the SharePoint 2013 Prerequisites on Windows Server 2012. The scripts will assist those who need to install SharePoint 2013 'offline' or wish to manually install its Prerequisites on Windows Server 2012.
Updated 6/6/2014
Released 11/22/2012
Boe Prox
This is an updated version of the Get-ProductKey function that was featured on's PowerTips. This function expands on the existing code by allowing the querying of multiple remote systems, outputting of objects
that include the system, Operating System and version
Updated 5/5/2012
Released 5/5/2012
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.
Updated 12/4/2012
Released 10/1/2011
PowerShell Team - Microsoft
The DSC Resource Kit is a collection of experimental DSC Resources released by the PowerShell Team, designed to help you get started with DSC. These resources allow you to configure Active Directory, SQL Server, IIS, Hyper-V, RDSH, and more.
Updated 8/7/2015
Released 3/29/2014
OneScript Team
This PowerShell script illustrates how to list all the shared folder permissions and NTFS permissions.
Updated 1/14/2014
Released 11/14/2012
Jaap Brasser
Script to delete files older than x-days. The script is built to be used as a scheduled task, it automatically generates a log file based on the copy location and the current date/time. There are various levels of logging available.
Updated 11/14/2015
Released 3/5/2012
This script will email a user in the event that their password is due to expire in X number of days.
Updated 11/13/2015
Released 11/27/2012
Satheshwaran Manoharan
Export all the Distribution group and all the members of it to a CSV file.
Display all the Distribution group with its members in Exchange Mangement Shell
Supports DYNAMIC Distribution group as well.
Script Supports - Exchange 2007,2010,2013 & Office365
Updated 9/13/2015
Released 10/11/2012
OneScript Team - Microsoft
This PowerShell Script shows how to use Windows PowerShell to determine the last time that a user logged on to the system.
Updated 11/28/2013
Released 11/28/2013
Gokan Ozcifci
Auditing SharePoint is one of the indispensable processes before deploying new solutions on the existing farm since SharePoint is going to be more critical to the corporate business. There are many reasons why auditing before SharePoint deployments is really important:
Updated 2/9/2014
Released 2/9/2014
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.
Updated 11/12/2015
Released 11/2/2012
Nickolaj Andersen
This tool will assist administrators in installing all the correct prerequisites for a ConfigMgr 2012 R2 hierarchy, different Site Systems Roles and much more.
Updated 8/18/2015
Released 1/14/2014
1 - 15 of 2740 Items