add a new line at the end of this file in powershell

C++
Add-Content "C:\dotnet-helpers\DummyfiletoDelete.txt" "This is the last line"

Source

Also in C++: