Hello I have the following test code in powershell 7.1 and 7.2 preview.
Write-Output "Lalala" 1> C:\\Temp\\test.txt Write-Error "This is a test