Allowing for the right kind of input into PowerShell functions is important. It can mean the difference between writing a function once and forgetting about it constantly having to refactor it to ...
If you've been using PowerShell, then you know that one of the great things about it is the ability to take objects outputted from one cmdlet, easily send it to another cmdlet and have it know how to ...
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 used ...