powershell add-content without appennd 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