15.04.2013
Here documents are
(also) available in
PowerShell.
If you directly write a here doc into a file, make sure the @" is at the immediate start of a line (no indentation)!
Example:
@'
$FOOBAR=Foobar
'@ > "${TMPFILE}.ps1"