Parameters defined for workflow functions do not support ValueFromPipeline. Remove this attribute and import or define the ...