简体   繁体   English

从Powershell脚本向发送的电子邮件添加格式

[英]Adding formatting to sent email from powershell script

I'm looking to send an email using powershell that would look something like below 我正在寻找使用Powershell发送电子邮件,如下所示

The Data audit has at least one problem. 数据审核至少有一个问题。 The following is the audit 以下是审核

  • There are 15 rows that are too large 15行太大
  • There are 37 rows that are too small 37行太小
  • There are no null asOfDates 没有空的asOfDates
  • There are 55 rows with stale asOfDates 有55行的asofDates过期

This audit will run again in 15 minutes 此审核将在15分钟后再次运行

您可以将send-mailmessage与html参数一起使用,并使用html标签格式化邮件正文。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM