If you post code, please use the ‘Insert Code’ button. Please and thank you!

As for the formatting issues, format it as HTML and send it as HTML

ConvertTo-Html
$msg.body += 
Get-Service -Name $svcs -ComputerName $server | 
Select-Object MachineName, Name, Status, DisplayName | 
convertto-html |
Out-String
6 Spice ups