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

This topic contains 1 reply, has 2 voices, and was last updated by  Rick 1 month ago.

  • Author
    Posts
  • #82465

    APK
    Participant

    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.

  • #82472

    Rick
    Participant

    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

You must be logged in to reply to this topic.