concept validation in category powershell

appears as: validation
PowerShell Deep Dives

This is an excerpt from Manning's book PowerShell Deep Dives.

You’ve seen that PowerShell can be flexible about the data type of parameters and that well-written scripts don’t require the user to express parameters in an unnatural way. Another aspect of flexibility is what you treat as “valid” input. In PowerShell you can often do validation on parameters, but beware of validation that shifts the effort from the writer of the script to its user.