Search notes:

Powershell: Out-File -Append

$file = 'out-file-append-test.txt'


'first line'     | out-file -encoding utf8         $file
'second line'    | out-file -encoding utf8 -append $file
'third line'     | out-file -encoding utf8 -append $file
Github repository about-PowerShell, path: /cmdlets/file/out/append.ps1

See also

Out-File

Index