Forum Discussion

SteveCox's avatar
SteveCox
Brass Contributor
Feb 08, 2022

new content after last match of a Pattern in XML file

Hi I am trying to use Powershell to add content to an XML file after the last match of a pattern  I need to add the content from $OutTemp txt file  "<!-- steve.cox - test3 -02/02/2022 11:01:36 --> ...
  • farismalaeb's avatar
    farismalaeb
    Feb 12, 2022
    Glad it help.
    Kindly mark the answer as best response.
    For the XML, I need to check it, and also you can start a new post as it also be better in the search engines.

    Thanks

Resources