SDF-REP-05 โ Send-MailMessage¶
Purpose:
To send PowerShell-generated reports via email for remote sharing or alerts.
๐งญ Script Example¶
Send-MailMessage -To "recipient@example.com" -From "me@example.com" -Subject "CPU Report" -Body "See attached report" -SmtpServer "smtp.example.com" -Attachments "cpu-usage.csv"
๐ Output¶
- Format: Email with attachment
 - Use: Remote delivery of audit or performance reports
 
๐ง Reflection¶
- Was the email received successfully?
 - Did the attachment open correctly?