3 Replies Latest reply on May 16, 2018 7:13 AM by ganapa2000

    Error : Application location is untrusted. Copy file to a local drive, and try again

    ganapa2000 Enthusiast

      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