database-tools

Use -f with N0

Often, it is necessary to output numbers, but you may want to control the number of digits and would like to control the formatting. The -f operator...

read more

Sending Results to Excel

Here's a little function called Out-ExcelReport. Just pipe anything to it, and it will open in Microsoft Excel - provided it is installed on...

read more

Examine Parameter Binding

PowerShell caters all tastes which is why the next two lines do the exact same thing and get all JPG pictures from your Windows folder: PS>...

read more

Kindergarten-Mode

To protect you from damages while playing with PowerShell on a productive system, set the ”WhatIf” mode as default:...

read more

Combining Objects

Sometimes it becomes necessary to consolidate two or more objects into one. So, how would you combine object properties into one object? In a...

read more

Logging Input Commands

If you'd like to maintain a log file with all the commands you entered interactively - in the PowerShell console as well as in the ISE editor -...

read more