Attachment Parameter (Send-Email Cmdlet)
The path to any files which are to be attached to the message.
Send-Email -Attachment string
Set Attachment to the path of a file on your system that you would like to send as an attachment with your message. The cmdlet will open the file and encode its contents in MIME format.