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
78 results in Windows Shell Script [Clear]
HotFix
This script properly removes and re-adds scheduled tasks on a computer when those tasks are reported as "The task image is corrupt or has been tampered with". It does require a little bit of up front configuration by the administrator of that computer.
(11)
Updated 3/11/2013
Released 2/23/2012
2,720 Downloads
CCraddock
A simple User Unlock tool for Windows AD. This .exe is designed for windows 7 and Server 2008 . It uses your current windows credentials to unlock a user. You may us alternate credentials using  Shift> Run as . This tool will work with XP but the
"Force user to change password
(4)
Updated 8/22/2013
Released 4/9/2013
1,293 Downloads
Margriet Bruggeman
You may find that this gallery upload is more than you think (wasn't that the slogan of Office once?). Choosing the correct set of performance counters for monitoring SharePoint WFE's and back-ends is a daunting task, and this is my attempt.
(24)
Updated 10/2/2013
Released 11/17/2011
2,072 Downloads
GastoneCanali
   This is a batch script to find the physical host name from a virtual pc (xpmod, hyper-v server, virtual server, virtual pc )  Looking the  following registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters is easy to find the  physical hostnameYou do
(3)
Updated 11/18/2012
Released 10/26/2012
449 Downloads
Holger Habermehl
You can change the IP Address of your system via Script. This script is working on the most Windows operating systems. In some OS you have to use the elevated administrative permissions (Windows Vista & Windows 7, also Windows Server 2008 & R2). You can expand the script to your
(3)
Updated 11/21/2011
Released 10/14/2011
1,006 Downloads
Thiago Cardoso Luiz
In more cases there are necessary to disable PrintScreen Key in Windows system for test environment or example.So you can do that with key registry or Group Policy.Use regedit:

 
REGEDIT.EXE /S _____.regUse GPO:With Windows Server 2008 or Windows Server 2008 R2 I would recomm
(0)
Updated 9/2/2013
Released 9/2/2013
113 Downloads
Craig Landis
This FOR command can be used in batch files when you need to include a date/time string as part of a file name.
(1)
Updated 5/11/2011
Released 4/29/2011
Mosc
Clearing of all events from all sources in Windows event log.
(2)
Updated 4/5/2013
Released 4/5/2013
175 Downloads
Santhosh Sivarajan-
DescriptionComputer Cleanup ScriptReference:
http://portal.sivarajan.com/2011/03/computer-cleanup-script-batch-file.htmlThis script can be used to
1. Count no of inactive computers in an AD domain,
2. Disable all inactive computer accounts and
3. Move them to an OU
Script@
(7)
Updated 12/6/2011
Released 3/3/2011
1,215 Downloads
TNJMAN
Description SummaryMany times a database administrator will want to know what SQL Server instances are running on remote servers.
Below is a simple Windows Shell Script-based method for determining that information, either against a single server or multiple servers.Sample Scrip
(1)
Updated 10/10/2013
Released 10/9/2013
163 Downloads
TNJMAN
Copy Local Security Policy - Batch script to automate copying of local security policy/rights settings from a source computer,
to a central network location, so the settings can be distributed from that network location to one or more remote computers.
This is for cases where y
(6)
Updated 9/3/2013
Released 9/3/2013
213 Downloads
TNJMAN
Windows Shell Script (.bat) to List all Scheduled Tasks on all remote servers, inclduing Domain Controllers. Uses DSQuery + DSGet to dynamically create server_list.txt file, and DOS string substitution to remove "$" from the end of "server samid
name." Uses schtasks and 33 line
(5)
Updated 12/5/2013
Released 6/8/2013
138 Downloads
pateljy

The following script generates an HTML Email Report for Exchange 2010 mailboxes over specific size, the number of email objects and space that single user consumes along with their last logon time. The report can be mailed to single or multiple users or
distribution lists in
(1)
Updated 12/21/2012
Released 12/20/2012
489 Downloads
Holger Habermehl
This script installs a LPR networkprinters and the needed driver. If you want you can use it for your logon script or manually.The following information are needed:<PRINTER_NAME> = Name of the Printer, you will find the name in the INF file of the driver<PATH_TO_INF_FILE> = The P
(4)
Updated 11/21/2011
Released 10/6/2011
630 Downloads
Falak Mahmood
The purpose of this post is just to automate the creation of Service accounts in Active Directory for any SharePoint installation. So run the following script as a .bat file in any Windows Server 2003/2008/2012
(5)
Updated 12/1/2013
Released 10/21/2013
55 Downloads
1 - 15 of 78 Items