Powershell: How can I validate parameters from the command line at input