All Questions
1
question with no upvoted or accepted answers
0
votes
1
answer
735
views
How to delete a line based on a regex string in Powershell?
I want to validate if the line above a certain line is there, then ok. if else, then delete that line and remove the empty space ? Can this be done in powershell? please help
If before all lines ...