Tried using '>' and 'OUT' commands but it is writing different output to the file that is not appearing in power shell window. Please note that these commands are application specific.
Asked
Active
Viewed 110 times
-2
-
3Please provide some example code, error message, etc. – Alex_P Jun 04 '20 at 09:40
-
1what does `Please note that these commands are application specific` mean? exactly? – Lee_Dailey Jun 04 '20 at 17:34
2 Answers
0
>
will only redirect stdout
(also called "success stream"). If you want to redirect all possible streams, use *>
.
You can read more about redirection here.

stackprotector
- 10,498
- 4
- 35
- 64
-
Thanks for your comment. I tried as you mentioned but still it is capturing output not appearing on power shell window. Using *> just increased the lines of output in this case. – Sudhakar Kumar Jun 05 '20 at 05:16
-
@SudhakarKumar Please add your code, your current result and your expected result to your question as Alex_P already requested. – stackprotector Jun 05 '20 at 08:29