Thursday, 14 April 2016

Improved In-Line Image Attachments in PowerShell

Improved In-Line Image Attachments in PowerShell

I found a tutorial for sending in-line image attachments in an email from another blog post here:

http://www.sharepointfire.com/2011/12/send-email-with-images-in-powershell/

I have made a few improvements. This will now take an array of image paths and generate an email with all the images in-line.


You can wrap this in a function or paste straight into a .PS1 file and it will take the parameters listed at the top.

Hope this helps someone.

1 comment:

Please be nice! :)

Nutanix CE 2.0 on ESXi AOS Upgrade Hangs

AOS Upgrade on ESXi from 6.5.2 to 6.5.3.6 hangs. Issue I have tried to upgrade my Nutanix CE 2.0 based on ESXi to a newer AOS version for ...