Fixed in v6
In a PowerShell function $MyInvocation.ExpectingInput
is supposed to get true
if the function is invoked with a pipeline input. This is not the case for the
DynamicParam
block, it gets false.
The script Test-1.ps1 shows the fact.
Fixed in v6
In a PowerShell function $MyInvocation.ExpectingInput
is supposed to get true
if the function is invoked with a pipeline input. This is not the case for the
DynamicParam
block, it gets false.
The script Test-1.ps1 shows the fact.