database-tools

Creating TinyURLs

All PowerShell Versions You probably have heard about shortening long URLs. There are plenty of free services available. Here is a script that turns...

read more

Waiting for a Keystroke

All PowerShell versions, PowerShell Console only To keep the PowerShell console open when a script is done, you may want to add a “Press Any...

read more

Finding Errors in Scripts

All PowerShell Versions It’s never been easier to find scripts with syntax errors in them. Just use this filter: filter Test-SyntaxError {...

read more

Discarding Results

All PowerShell Versions Since PowerShell returns anything that commands leave behind, it is particularly important in PowerShell scripts to discard...

read more

Important Math Functions

All PowerShell Versions Here are the four most important Math functions needed by administration scripts: [Math]::Floor(4.9) [Math]::Ceiling(3.2)...

read more