The yaml schema for a Powershell task allows you to select targetType: 'inline' and define a script in the script: input.
But what is the correct format for writing a script with more than one line?
The docs don't specify how, and using a pipe on line one (like is specified for the Command Line task) does not work.