PowerShell - Scripting Best Practices
You have a parameter
$FilePath that must be a non-empty string and match a pattern ending with '.txt'. How do you combine parameter validation attributes to enforce this?