For string. You may use Here-String syntax for multiline string assignment like
echo @" here is the first string location is $global:loc "@
Ref: https://devblogs.microsoft.com/scripting/powertip-use-here-strings-with-powershell/