1

Closed

A mandatory parameter has a default value

description

Row #4882 (v.4.7.2):
function LogMessage 
{ 
     param ( 
         [Parameter(  
             Mandatory = $true
          )][String[]] $strType="Error" ,
This does not make any sense since the default value will never be used for a mandatory parameter.
Closed Feb 7 at 6:51 PM by robing

comments