Hello,
I have created a function where I would like to optionally specify a parameter called -update
that is $true
(or is not $null
) only when specified, but I don’t want to call it as -update $true
Similar to -verbose
in that specifying $true
is not required, as it is inferred to be $true
/ not $null
Is this possible?
Many Thanks,
Pin