Skip to main content

All Questions

Tagged with
0 votes
1 answer
722 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 ...
coder234's user avatar
1 vote
1 answer
1k views

Text manipulation in powershell [closed]

I'm new to powershell scripting, but managed to put together some lines of code shown below. $input_path = 'C:\Users\ND04805\Documents\1_Projects\10_IP21_Graphics_update\graphic_xml.xml' $...
Prasanna's user avatar
  • 4,104