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
17 results in Bigteddy [Clear]
Bigteddy
This little script will enumerate all the shares on a computer, and list the share-level permissions for each share.  It uses WMI to retrieve the shares, and to list the permissions.  Thanks to Michal Gadja for his input (via the Library).
(7)
Updated 9/10/2012
Released 11/15/2011
3,664 Downloads
Bigteddy
This script uses the .net FileSystemWatcher class to subscribe to 'create', 'change' and 'delete' events on files or folders in the NTFS filesystem.It can be used to monitor a folder or folders, and can be modified to perform any action upon the triggering of these events. 
(9)
Updated 12/8/2011
Released 9/5/2011
2,885 Downloads
Bigteddy
This little script will perform a clean up of declined and superceded updates in the WSUS database.  It uses the .Net class "Microsoft.UpdateServices.Administration" assembly, which should be loaded on your WSUS server. 
(0)
Updated 7/3/2012
Released 7/3/2012
1,002 Downloads
Bigteddy
This script will search Active Directory for computer objects, and perform a hardware and operating system audit on each computer found.  The results are saved to a csv file for easy analysis.

The fields created map to Microsoft Visio's shape data fields as far as possible.
(7)
Updated 1/14/2012
Released 10/26/2011
1,878 Downloads
Bigteddy
This function will remove all folders that are completely empty.  If a folder has no files, but has sub-folders with files, the parent folder will not be deleted.  Only completely empty folder chains will be deleted.
(0)
Updated 10/10/2012
Released 12/11/2011
775 Downloads
Bigteddy
This Powershell advanced function will emulate the Visual Basic msgbox function. It takes five parameters: Prompt, Title, Icon, BoxType, and DefaultButton. Using these five parameters, and so you can customise the pop-up message to many different combinations.
(8)
Updated 5/13/2012
Released 8/24/2011
1,059 Downloads
Bigteddy
This function, called 'Map', will report on all logical drives on the local or remote computer, in text format. 
(3)
Updated 2/15/2012
Released 10/26/2011
478 Downloads
Bigteddy
This script is designed to work with my "Network Live Audit" program.  You can use the log file from that script to run the audit against only those computers that were offline on the previous run.   The results are saved to a csv file for easy analysis. 
(0)
Updated 1/22/2012
Released 1/13/2012
742 Downloads
Bigteddy
This script will use a list of computer names from a text file, and restart them in batches of 5.  Each restart is started as a background job, and the script waits for all computers to come back up before restarting the next five. The results are saved to a log file.
(2)
Updated 11/1/2011
Released 10/22/2011
325 Downloads
Bigteddy
This script will return the logon status of the local or a remote machine.  Return types include "Not logged on", "Locked", "Logged on", and "Offline.
(2)
Updated 10/4/2012
Released 10/4/2012
332 Downloads
Bigteddy
This script will simulate Sysinternal's DU.exe.  Disk Usage Analyser will list all directories below the one you specify, and summarize them, giving you the total size, folder count, and the file count for each sub-directory found. You can filter on file type for reports.
(2)
Updated 10/2/2012
Released 9/24/2011
1,012 Downloads
Bigteddy
The following script will retrieve all of the properties of the Active Directory objects returned by a query.  These properties are stored in custom objects, and each object is added to an array.This script can be used to retrieve Computer and/or User objects. 
(3)
Updated 1/4/2012
Released 1/4/2012
311 Downloads
Bigteddy
This Windows Forms based Powershell script will calculate whether two IP addresses are on the same subnet, given the subnet mask.  It will display the respective network ID's for each IP address entered, and compare them to establish if they are on the same network.
(0)
Updated 11/9/2011
Released 11/9/2011
248 Downloads
Bigteddy
This simple script will query Active Directory for computers, and ping them.  Any machines that don't respond are recorded in an array, which is output at the end.  The output from this script could be piped to Out-File, or converted into a string
to form the body of an email. 
(0)
Updated 10/5/2012
Released 8/26/2012
129 Downloads
Bigteddy
This script will take a file name as an input, and prepend a line number to each line.  This is displayed in the console, but could be redirected to Out-File.  This could be useful for debugging long scripts, where the error message references the line number. 
(1)
Updated 10/14/2012
Released 10/14/2012
110 Downloads
1 - 15 of 17 Items