Open bstrautin opened 5 years ago
Seems like
ValueFromPipeline
to ValueFromPipelineByPropertyName
process
block should wrap a foreach
loop around the current process
block content$_
to $event
or something similarI should probably add that I'm not sure why anyone would do this. Format-Checklist
is meant for real-time updating of the host. If you want non-realtime, you're probably better off using the other Format-*
cmdlets that support stream redirection.
Users' wants and developers' expectations are rarely in sync. :-)
Well, my attempted solution seemed to stop the formatters from accepting pipeline input. Not sure if anyone has any ideas here...
Format-Checklist fails when passing a RequirementEvent[] object as a parameter. It should format the objects as it does when they are passed in from the pipeline.
Error:
Code to reproduce: