PowerShell 发邮件

$time = Get-Date 

Send-MailMessage -From "Xiong Wu <[email protected]>"  -to "[email protected]" -cc "Xiong Wu <[email protected]>" -Subject "test" -Body "ETL is done at $time !"  -SmtpServer "smtp.medeanalytics.local"

你可能感兴趣的:(powershell)