PowerTip: New Lines with PowerShell
How can I use Windows PowerShell to add a new line between lines for my text output?
Use the `n character, for example:
PS C:\> "string with new line `n in it"
string with new line
in it
Note If you need a carriage return, use `r. For a carriage return and a new line, use `r`n.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.