I'm new to PowerShell.
I am outputting to a file and keep getting new lines. I'm not sure how to remove the newline function. e.g.
"<Text> -", <Variable> | Add-Content <FilePath>
gives me:
<text>
<Variable>
What I'm after is
<Text> - <Variable> <Newline>