I often have lists where I have to split the list, and remove empty lines. This is how I do it:
$Properties =@" HostName TaskName Task To Run Start Date Start Time "@ $Properties.Split("`r`n|`r|`n",[System.StringSplitOptions]::RemoveEmptyEntries)
This method uses a regular expression with three different variations of line break, then the .NET method of removing empty lines.