Changes

Jump to: navigation, search

Windows PowerShell 1.0 String Quoting and Escape Sequences

278 bytes added, 18:41, 14 November 2008
PowerShell Special Escape Sequences
</tr>
</table>
 
A typical example of the use of a special escape character involves the insertion of a newline into a string using the ''`n'' sequence as follows:
 
<pre>
PS C:\Users\Administrator> write-output -inputobject "This is line 1`nThis is line 2"
This is line 1
This is line 2
</pre>

Navigation menu