Hello
I have a main script which calls other scripts and their functions. These functions contain Write-Host, Read-Host, Write-Error functions and some variables (as $ServiceList)
How can I log all of output of the my program to a file.
I tired Start/Stop Transaction, >>, Out-File, Tee-Object etc. But they didn't work.