Need to 'escape' ^ the pipeline | in a PowerShell ScriptBlock