I am trying fetching content from a file using get-content and adding it to a existing file using add-content, but the issue is I am not able to add that content to new line. Can you please suggest on this?
Using below commands:
Get-content -Path $destRoot1 | Add-Content -Path $destRoot2