database-tools

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

"Continue" and Labels

When you use the "Continue" statement inside a loop, you can skip the remainder of this loop iteration, and continue with the next....

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

Aborting the Pipeline

If you know beforehand how many results you expect from a pipeline, you can use Select-Object to stop the upstream cmdlets. This can save a lot of...

read more