Month: May 2015

Finding Executable

Many file extensions are associated with executables. You can then use Invoke-Item to open a document with this executable. Finding out just which...

read more

Test Nested Depth

When you call a function, PowerShell increases the nest level. When a function calls another function, or script, this will again increase the nest...

read more

Aborting Pipeline

Sometimes you might want to abort a pipeline when a certain condition is met. Here is a creative way of doing this. It works all the way back to...

read more

Get Memory Consumption

To get a rough understanding how much memory a script takes, or how much memory PowerShell puts aside when you store results in a variable, here is...

read more