PowerShell - Scripting Best Practices
What will be the output of this script when called with
-Level "Medium"?
function Test-Level {
param(
[ValidateSet('Low','Medium','High')]
[string]$Level
)
Write-Output "Level is $Level"
}
Test-Level -Level "Medium"