求助:PS读取excel里的内容判断是否发送邮件。


PowerShell交流中心分类: 变量-函数-脚本-条件-循环-参数求助:PS读取excel里的内容判断是否发送邮件。
0
asked 5年 ago

场景:一个Excel文件里边有一列共有五行显示a,a,a,b,b 现在想做一个去重最后结果只剩下a,b然后判断这个组是a,b就不需要发送邮件  不止a,b 比如多出个c来,如(a,b,c)就发送邮件

1 Answers
1
Best Answer
Mooser Lee 管理员 answered 5年 ago

PowerShell 读写Excel请使用:https://www.pstips.net/powershell-excel-report.html
PowerShell 发送邮件,请参考:https://www.pstips.net/send-mail-via-hotmail.html