Hello All Scripting Guru,
I am from BI domain and due to my Windows based server, I need to perform file processing in PowerShell and looking for help.
Below actions needs to be performed.
1. Unrar file A.rar from folderC:\file\
2. 2 files will be extracted from rar file, then get file full path, like C:\file\a.txt and C:\file\b.txt
3. Replace the content of another file named target1.txt at location C:\file\process\target1.txt with full path name such as "C:\file\a.txt" and another file target2.txt at same location from other file full path name "C:\file\b.txt"
Thank you for your help, I tried it but somehow I was not able to do it correctly :(