Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Line Continuation in PowerShell

$
0
0

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 `
"Powershell_ISE"


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>