It would be better to store the data in a var and use the WRITELINE only once
when needed. Using WriteLine over and over can be a semi-expensive operation.

Something like this
Code:

$rc = "stuff here" + @crlf
$rc = $rc + "more stuff here again" + @crlf
$rc = $rc + "even more stuff here" + @crlf
$rc = writeline (1,$rc)