Does a mandatory PowerShell parameter automatically reject null and empty strings?
I noticed that PowerShell rejects null and empty values for a parameter declared as mandatory, even though I did not add the ValidateNotNullOrEmpty attribute. For example: function Test…