InputObject parameter in all commands do not work as expected when input array is passed as a parameter (not via pipeline) argument. For example:
$CA = Get-CA
Get-CATemplate -InputObject $CA
in this case, the command will fail, because an array in InputObject paramter is not unrolled.
$CA = Get-CA
Get-CATemplate -InputObject $CA
in this case, the command will fail, because an array in InputObject paramter is not unrolled.