How to Add a New Line in a PowerShell String
To add a new line in a PowerShell string, put `n (backtick n) inside a double-quoted string. The text after it starts on the next line: Output: That covers most scripts. Below I show the other new line options, when each one matters, and how to turn spaces into new lines. I ran every example … Read more