Windows 2012版本中自带的PowerShell版本是3.0的,当在3.0下能正常使用的Send-MailMessage函数,在PowerShhell v7.0以上版本就会出现一下错误: Currently Send-MailMessage is marked obsolete, but I don't think it should be. The API behind it shou

- 阅读全文 -