How to enter multi-line command in PowerShell?

You can use backtick (`) to enter multiline command in PowerShell. Below is a quick example for your reference –

To enter multi-line comment in PowerShell use <# #>

Leave a Reply