PowerShell - Functions
You have this function:
When calling
function Test-Param {
param(
[Parameter(Mandatory=$true)]
[ValidateSet('Yes','No')]
$Answer
)
Write-Output $Answer
}When calling
Test-Param without arguments, what error occurs?