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