PowerShell - Scripting Best Practices
What is wrong with this parameter validation?
function Set-Name {
param(
[ValidateLength(3,10)]
[int]$Name
)
Write-Output $Name
}