PowerTip: Line Continuation in PowerShell

The Scripting Guys


Summary: Ensure a line continuation in Windows PowerShell.

Hey, Scripting Guy! Question What the line continuation character should use to ensure my Windows PowerShell code
           continues to the next line?

Hey, Scripting Guy! Answer The line continuation character in Windows PowerShell is the backtick.
           Type a <space>, the backtick, and then press ENTER, for example:

Get-Process -Name `

The Scripting Guys
Dr Scripto

Follow Dr   

No Comments.