Month: May 2014

PowerShell God Mode

Before you can run a PowerShell script, the execution policy needs to allow this. Typically, you would use this line to enable script execution:...

read more

Start to Look at DSC

Desired State Configuration (DSC) is a new feature in PowerShell 4.0. With DSC, you can write simple configuration scripts and apply them to the...

read more

Compiling Binary Cmdlets

PowerShell functions can mimick all the features found in a true binary cmdlet--but PowerShell functions are plain PowerShell code, so anyone can...

read more

ISE Bug Locks Debugger

There is an obscure bug in the PowerShell ISE that may dead-lock the debugger. It affects PowerShell version 3.0 and 4.0. Here is a test script:...

read more

Creating Excel Reports

PowerShell objects can easily be opened in Microsoft Excel. Simply export the objects to CSV, then open the CSV file with the associated program...

read more