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
853 results in Powershell [Clear]
Rich Prescott
Being able to send a quick message to someone is always helpful and being able to do it using Powershell is just that much easier.  This script uses MSG.exe to pop up a message on a local or remote computer.  ExamplesSend-NetMessage "This is a test of the emergency broadcast syst
Featured
Raimund Andrée
Allows a much easier management of permissions on files and folders using PowerShell
(98)
6/20/2011
78,101 Downloads
Microsoft All-In-One Script Framework - Microsoft
This PowerShell Script illustrates how to create a Shutdown ,Restart or Logoff Windows 8 tile to the Start menu.
(53)
11/7/2012
17,964 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.
(79)
7/7/2011
30,365 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.
(81)
10/1/2011
32,109 Downloads
HicanNL
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 overvi
(36)
4/26/2012
13,394 Downloads
MichalGajda
This function is a piece of PSWindowsUpdate module to manage Windows Update on a computer system running Windows. Whole module contain 10 function to check, download and install updates from PowerShell.
(56)
2/14/2011
18,935 Downloads
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.
(34)
3/5/2012
10,661 Downloads
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.
(19)
11/22/2012
3,217 Downloads
Raimund Andrée
Version 1.1 (PSLog 1.1.zip) released on March 26, 2013Introduction
There are many script snippets available to send messages to log files. However that required to explicitly call the respective log function. Another downside is that the function writing to the log does not know
(18)
8/30/2012
6,262 Downloads
Raimund Andrée
The module gives access to the Kerberos ticket cache. It can read and purge tickets of the current logon session.
(53)
8/24/2011
19,856 Downloads
Boe Prox
This is an updated version of the Get-ProductKey function that was featured on PowerShell.com'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
(19)
5/5/2012
5,837 Downloads
Microsoft All-In-One Script Framework
This script sample could be used to switch a full installation user interface server to Server Core mode in Windows Server 2012. Also, for Server Core convert to a full UI mode.
(6)
10/30/2012
733 Downloads
MichalGajda
The PSFTP module allow you to connect and manage the contents of ftp account. Module contain set of function to get list of items, download and send files on ftp location.
(35)
8/18/2011
5,550 Downloads
The Exchange Team

The Exchange Team MSFT

Exchange Team samples are developed and tested by the Exchange Team to ensure that you have a great experience.

View Samples
This is a PowerShell based script that can be utilized to identify mobile devices causing resource depletion issues on Exchange servers, help in spotting trends and automatically generate reports for continuous monitoring.
(13)
1/30/2012
9,422 Downloads
HicanNL
Update History:22-04-2013: Added recursive functionality to the folder creation script.I created some sort of "Management Pack" for SCCM 2012. This pack contains quite some scripts which should ease up the management (and maybe implementation) tasks of SCCM 2012. The following sc
(5)
11/30/2012
1,793 Downloads
1 - 15 of 853 Items