https://rakhesh.com/powershell/get-content-and-out-file-in-the-same-pipeline/
Get-Content and Out-File in the same pipeline