Answer by Avatar for Check and add column in text file
If you know that you miss only these fields in that order you can simply use replace operator with regular expressions (lookbehind + negative lookahead). $text = Get-Content .\test.txt $text = $text...
View Article
More Pages to Explore .....