Open
Description
chrisdent [13 h 46]
that'll let you test those without an end-user being able to poke them so easily :visage_légèrement_souriant:
$Error, $HelpMessage = Confirm-Arguments @PSBoundParameters if ($Error) { Write-Host $HelpMessage }
should throw (terminate). But I personally would want to kill off that function :visage_légèrement_souriant:
I'd want to move the parameter validation back into the parameter block. Perhaps using parameter sets, or something other than switches.