Can Console2 be used with Powershell?
Asked Answered
A

3

29

I'm a big Console2 fan, and I've recently been introduced to the power of PowerShell. Is it possible to have the latter (aka the PowerShell interpretive shell) inside the former?

Antistrophe answered 18/10, 2011 at 6:6 Comment(0)
C
32

In Console2 settings, set the shell to:

%SystemRoot%\syswow64\WindowsPowerShell\v1.0\powershell.exe

Because for something this simple a blog post is not an answer.

Cloakanddagger answered 5/3, 2013 at 23:46 Comment(0)
U
21

Yeah, that is what I use. ( Update - Nowadays, I use ConEmu)

Refer to this excellent post from Scott Hanselman - http://www.hanselman.com/blog/Console2ABetterWindowsCommandPrompt.aspx

Urbannai answered 18/10, 2011 at 6:16 Comment(3)
I use PowerShell in Console2 as well. Without any problem.Ludlow
Be sure to read the comments regarding PowerShell - if you want PS to display colors, DO NOT set a custom text-color in Console2.Frohman
ConEmu is very good. See also very useful Aaron T Grogg's post comparing today's console alternatives: Comparing PowerCmd vs. Console2 vs. ConsoleZ vs. ConEmu Vs. CmderVeronique
H
1

Additionally, if you want an even better user experience while working with Console2+PowerShell duo, you can create a link to the Console2 executable, putting the following into the 'Shortcut'>'Target' field:

"%windir%\system32\cmd.exe /c start c:\dir-with-console2\Console.exe"

Also, set the 'Run' option to 'Minimized' on the same tab.

Now when you add the directory containing this link to the PATH environment variable ('System Properties'>'Advanced') you'll get yourself a pretty nice "feature", namely no matter where you'll run this link from, it will always set your working directory for Powershell to the "current one" (the one you have run the link from - similarly to how cmd behaves).

Hierarchy answered 18/7, 2013 at 22:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.