Home
Manage Your Code
Snippets for Michael Wood
Showing 1-10 of 16
TitleDescriptionLanguageViewsDate Added
Wait-UntilQueueEmpty Monitors a queue on a box until it becomes empty, or an allotted time elapses.PowerShell18911/3/2010
List MSMQ queues and message count Get's the MSMQ queues and messages counts for a machine.PowerShell68511/3/2010
Get HostName for an IP Address Used to get the host name for an IP address from DNS.PowerShell26287/23/2008
Generate Test Files with PowerShell Creates N number of test files of a specific size. You can control where the files are created, how many to create and the size to create them. You can also control what filler character is used to file the file.PowerShell9737/4/2008
Get a DataTable from SQL Server via query A short function that can be used to get a DataTable of data from a SQL Server.PowerShell24367/1/2008
Toggle the Debugging Registry Switch for IE Use this script to toggle if Script debugging is on or off for IE. Useful for when you are developing, but then you don't want to see all the script errors on other people's sites.PowerShell8746/4/2008
Calculate Table Row Size in SQL 2005 This script can be used to help produce database size estimates. It takes the size of a table row and includes index sizes to give you an estimate of how much space a given row will take up.SQL70645/2/2008
Calculate Table Row Size in SQL 2000 This script can be used to help produce database size estimates. It takes the size of a table row and includes index sizes to give you an estimate of how much space a given row will take up.SQL14295/2/2008
What Version of SQL Server? Used to determine version, product level and edition of SQL running on a box.SQL10964/29/2008
PS Deploy Service Files Script This script will stop a service, move files to a destination location, then restart the service. Good for deploying during development.PowerShell13784/22/2008
12