powershell add-content no append code example
Example 1: powershell append to file
Add-Content c:\scripts\test.txt "The End"
Example 2: powershell output text file
Out-File fileName
Add-Content c:\scripts\test.txt "The End"
Out-File fileName