My goal is to have a script delete a string(error message) from all text files in a folder. (*.*)
I just need the script to find that string and delete the whole line.
Is it possible to customize this script to find more than one string and deletes those lines as well?
Thanks in advance, i did some searching but my powershell knowledge is newb level and I will require some more practice. I though a select-string could do this but i could not get it to delete the string I found