PowerShell - Scripting Best Practices
You want to create a script parameter
$Port that only accepts integers between 1024 and 65535 and cannot be empty. Which parameter validation attributes should you use together?