troubleshooting Question

Embedding a png image into an html file generated from a Powershell script

Avatar of E=mc2
E=mc2Flag for Canada asked on
PowershellImages and PhotosHTMLOutlookScripting Languages
6 Comments1 Solution17 ViewsLast Modified:
I would like to embed a png image into an html file which will then be sent as an attachment to an email.

What code would I use to embed an image such an png or jpg image into an html file?
Does the image have to be pulled externally over the internet or can it be embedded into the html as it were?

A powershell script is being used to create the html file. 
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros