Powershell + CSS in the tables
Not all CSS style instructions work in Outlook.
There some tricks to colorize tables:
Zebra in the table
$Body = $Body -replace '(?.)\r\n(?.)','${first}${second}'
Replace in the table started from 3 to red and less to green
$Body = $Body -replace '(?[3-9][0-9]{1,})(?.)','${first}${second}' -replace '(?[1-2][0-9]{1,})(?.)','${first}${second}'
Simple replace
$Body = $Body -replace <td>1</td>,<td bgcolor=#333>1</td>
Exchange 2019 + renew the certificate Powershell + Access to MS SQL
Comments are currently closed.