Successfully added
PowerShell Coding Samples
by Patrik
New Lines with PowerShell
To add a new line between lines in an output you can use the `n character.
Write-Output "This is the first line. `nThis is the second line. `nThis is the third line"
Output
This is the first line.
This is the second line.
This is the third line
See also PowerShell New Line | How does new line methods work in PowerShell? (educba.com)
Referenced in:
Leave a Comment
All fields are required. Your email address will not be published.
Comments