send attachment powershell code example
Example: how to send mail and attachment using powershell
$file = "C:\folder\file.csv"
$att = new-object Net.Mail.Attachment($file)
$file = "C:\folder\file.csv"
$att = new-object Net.Mail.Attachment($file)