Insert text at certain point Powershell
Append text to file
With the help of Powershell we can insert a line of text at a specific point within a file.
In this example there is an .ini file. I would like to add the text KeyLength = 2048 below the text Exportable = FALSE
After the script ran, the text was also added in the appropriate place.