write to file powershell append code example
Example 1: write to file powershell
Add-Content -Path <path> -Value <value>
Example 2: powershell append to file
Add-Content c:\scripts\test.txt "The End"
Add-Content -Path <path> -Value <value>
Add-Content c:\scripts\test.txt "The End"