Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I find the combination of Ctrl+Z with subsequent fg on Bash very handy, it's like a command line analog of alt+tab, so I can switch from viewing one file to the output of a running process etc.

Is there an analog for Windows Powershell? I can't google anything but the "pause" which just stops the current running process but doesn't let me switch to the command line and then back.

share|improve this question

Yes, sort of - using the psjob commands (requires Powershell 2)

Edit: The site has the names wrong. It's 'start-job' instead of 'start-psjob'

See 'help start-job' for the complete (and correct) information.

share|improve this answer
Strange thing, I don't have Start-PSJob in my Powershell. $host.Version.Major yields 2; doesn't that mean I have Powershell 2? I have pscx installed, maybe it gets in the way? – Igor Baltiyskiy Aug 23 '12 at 8:54
The site appears to be wrong - its 'start-job' instead of 'start-psjob' – PhonicUK Aug 23 '12 at 8:57
and start-job does not have the Command parameter – Igor Baltiyskiy Aug 23 '12 at 8:58
See 'help start-job' and 'help start-job -examples' – PhonicUK Aug 23 '12 at 8:58
anyway, thanks for the suggestion --- I'll try to figure it out – Igor Baltiyskiy Aug 23 '12 at 8:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .