June 21, 2020 at 7:59 pm #237250ParticipantTopics: 1Replies: 0Points: 11Rank: Member
I am a newbie to powershell and I am looking to merge contents of one file into another file
I have 2 files I want to merge the contents
Open 1st file named “config.xml” find Text “trigger”
Insert contents of second file “triggerInfo.txt” into “config.xml” after the word “trigger”
Overwrite modified file “config.xml”
any help would be appreciated
June 21, 2020 at 8:12 pm #237253ParticipantTopics: 5Replies: 2373Points: 6,011Rank: Community MVP
Pete, welcome to Powershell.org. Please take a moment and read the very first post on top of the list of this forum: Read Me Before Posting! You’ll be Glad You Did!.
This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.
What have you tried so far? We expect you to make an own attempt to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.
I did a quick research for. Here are some links to start with:
…. abd there are countless examples more out there. 😉
- You must be logged in to reply to this topic.