News

In Part 1 of this series, I showed you an example of PowerShell's native validation capabilities.. In that installment, I wrote a function that accepted a text string as input. The function then ...
A great example of this is using Get-Process and taking one (or more) objects that are outputted and send that into Stop-Process to end the processes. Get-Process -Name powershell | Stop-Process ...
The pipeline is beneficial in so many ways, and it is in part what makes PowerShell fun to code in. The capability of the pipeline to pass objects rather than simple strings is an extremely powerful ...
Posey's Tips & Tricks. How To Validate Input in PowerShell Functions, Part 1. If your automated script takes action based on a value, it's critical to make sure the value is correct.