How do I output batch file output to console and file?
I tried using >
like this but it only outputs to file.
Powershell.exe -ExecutionPolicy ByPass -File %psFile% %2 %3 %4 %5 %6 > LOG.txt
How do I output batch file output to console and file?
I tried using >
like this but it only outputs to file.
Powershell.exe -ExecutionPolicy ByPass -File %psFile% %2 %3 %4 %5 %6 > LOG.txt