Monthly Archives: May 2015

Tip #49 | PowerShell, break long lines into readable code

Unlike other languages PowerShell does not allow you to just continue a command on a new line.

You have to specifically tell it to do that by adding a “Backtick” character.

This one:

`

Example:

Split-NAVApplicationObjectFile -Source “C:\Users\Mark Brummel\Documents\Export.txt” `

                               -Destination “C:\Users\Mark Brummel\Documents\Files\” `

                               -Force