Hi All,
I am getting the below error when I run the script
script : get-process | Write-Output *>&1 | tee ".\Disk_Extend_Log_$date.txt" | out-host
Error : Application location is untrusted. Copy file to a local drive, and try again
I would like to get output both to console and output to file