this directory may contian any number of files with any type
if the file type is.txt
read the file content as a string and replace some value with other plz tell me the code
ex:this is company
file.txt should be like: this was my company
this directory may contian any number of files with any type
if the file type is.txt
read the file content as a string and replace some value with other plz tell me the code
ex:this is company
file.txt should be like: this was my company
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Muhammad Imran AnsariPosted Jan 20, 2022, 3:22 PM
Try the following step-by-step link to read and replace the particular text using Powershell script.
https://adamtheautomator.com/powershell-read-text-file/