append text with powershell code example
Example 1: powershell append to file
Add-Content c:\scripts\test.txt "The End"
Example 2: add a new line at the end of this file in powershell
Add-Content "C:\dotnet-helpers\DummyfiletoDelete.txt" "This is the last line"