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

Welcome Forums General PowerShell Q&A 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

 
Participant
1 year, 1 month ago.

  • Author
    Posts
  • #82465
    APK

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

    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

The topic ‘powershell script to insert image to specific page in word document template’ is closed to new replies.