A Maester test of mine printed System.Object[] where a sentence belonged. My README example had been wrong for two months, and 204 passing tests never piped the array once. New post: www.techbyjeff.net/piping-an-ar... #PowerShell #Pester #Maester
Your Function Accepts an Array. Piping One Is Different
A PowerShell function with ValueFromPipeline runs different code when a collection is piped than passed by parameter, and the test that catches it.
techbyjeff.net