Cannot generate a Windows PowerShell object for a ScriptBlock which invokes pipelines, commands or functions to evaluate ...