write text to file powershell script code example
Example 1: write to file powershell
Add-Content -Path <path> -Value <value>
Example 2: powershell write to file
Add-Content FilePath TextAdded
Add-Content -Path <path> -Value <value>
Add-Content FilePath TextAdded