Extreme newbie, but I recently read a prior article called Sending SQL Query Results as HTML formatted Table in an Email using PS<\/a> and it was super helpful, and it got me most of the way there.<\/p>\n
I modified the code from article and piped the results to ConvertTo-Html -Fragment as suggested. It worked for the most part, but I would like to understand the code better as I am unsure of why the highlighted columns are occurring.<\/p>\n