Powershell automate send mail with attachment
If you require the need in Powershell (if you must) to send an automated report and attach it with priority, try this thinned out script for sending your message with an attachment. Note: The email address must be encapsulated in angled brackets