Here-String Powershell

admin

1
2
3
4
5
6
7
8
$text = '@
This is an
example on how you
can have multiple lines.
   You can also use indent.

Perfect for things like SQL query etc
'
@

You can read more about it here https://blogs.technet.microsoft.com/heyscriptingguy/2015/12/31/powertip-use-here-strings-with-powershell/