You can use backtick (`) to enter multiline command in PowerShell. Below is a quick example for your reference –
1 2 3 4 |
Set-ExecutionPolicy ` -ExecutionPolicy Unrestricted ` -Force ` -Scope CurrentUser |
To enter multi-line comment in PowerShell use <# #>
1 2 3 |
<# multi line comment #> |