Here is some sample output from Windows PowerShell when I run a certain grunt task in my project directory:
Done, without errors.
Execution Time (2015-08-25 01:57:14 UTC)
loading tasks 9ms ██████ 17%
loading grunt-contrib-copy 23ms ███████████████ 43%
copy:styles 20ms █████████████ 38%
Total 53ms
Running "autoprefixer:server" (autoprefixer) task
Autoprefixer's process() method is deprecated and will removed in next major release. Use postcss([autoprefixe
r]).process() instead
File .tmp/styles/main.css created.
"Done, without errors" is in green and ".tmp/styles/main.css" is in cyan.
Running the same command in Powershell ISE, produces the following:
[32mDone, without errors.[39m
Execution Time (2015-08-25 01:58:40 UTC)
loading tasks 9ms ███████ 20%
loading grunt-contrib-copy 20ms ████████████████ 45%
copy:styles 14ms ███████████ 32%
Total 44ms
[4mRunning "autoprefixer:server" (autoprefixer) task[24m
grunt : Autoprefixer's process() method is deprecated and will removed in next major release. Use
postcss([autoprefixer]).process() instead
At line:1 char:1
+ grunt serve
+ ~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Autoprefixer's ...ocess() instead:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
File .tmp/styles/main.css created.
Colors are not interpreted correctly, and neither are non-ASCII characters.
I have tried searching for a solution, but with no success. How can I make PowerShell ISE behave more like PowerShell? It would seem like PS ISE is just a wrapper around regular PS, but there must be more to that.
Update: came across this post which says that "Console Application output is not colorful". Would this mean there is no way to get PowerShell-like output through PowerShell ISE?