I'm using the following command to email a backup log file (backup using Amazon AWS ec2 cli sync):
Send-MailMessage -From "email@example.com" -to "firstname.lastname@example.org" -Subject "Backup Log for helpdesk on $date" -Body (Get-Content $log) -Smtpserver "mailserver.com" -port "25" -attachment $log
The email is pretty basic. It displays in basic text format. I'd like the results of this backup to display in HTML with a header saying something like "Helpdesk backup results for $date" and then the results below that.