#TodayILearned that you need to escape the Pipe symbol ‘|’ with a ‘^’ when you’re running #Powershell from @Rundeck

Perhaps it running cmd to call Powershell?