powershell script to insert image to specific page in word document template

Hi All,

Am new to scripting and i have a requirement like i need to automate a process which includes of reading a URL downloading a image from that URL and inserting that image to specific pages on a w word document template. Am able to download the image but not able to do the rest. would appreciate help on this.

Thanks
Apk.

You can use invoke-webrequest to download the image. I would suggest reading the example in the link below for automating MSWord through powershell.

https://techblog.dorogin.com/generate-word-documents-with-powershell-cda654b9cb0e