Month: December 2012

Creating "Mini-Modules"

Did you know that every PowerShell function can be turned into a script module with just one line of code? To test drive this, open the ISE editor...

read more

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

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