在低版本的PowerShell上发送邮件可以借助.NET的system.net.mail.smtpclient类。在高版本的PowerShell中可以借助现成的命令:Send-MailMessage。我在尝试使用Hotmail时,遇到了一个错误:The SMTP server requires a secure connection or the client was not authenticated PowerShell使用Hotmail账号发送邮件2014年8月11日 在 Powershell小技巧 标签 邮件 来自 Mooser Lee