Write text to file
Add-Content -Value 'First line`r`nSecond line' -Path C:\temp\file.txtAdd-Content -Value @'First lineSecond lineAnd another one!'@ -Path C:\temp\file.txtWrite text to file
Add-Content -Value 'First line`r`nSecond line' -Path C:\temp\file.txtAdd-Content -Value @'First lineSecond lineAnd another one!'@ -Path C:\temp\file.txt