News

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 ...
PowerShell has a number of different parameter validation attributes that allow you to validate what kind of input each of your parameters can accept. Let's use the parameter above (FilePath) as an ...
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.