Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 want to pass a netstat -t -b 90 command and tell the prompt to simultaneously or successively perform this command to launch network monitor start netmon /autostart.

share|improve this question

The Start-Job command in PowerShell will do what you want. You'll want to use it in conjunction with Wait-Job and Receive-Job.

For example:

$netstat = Start-Job {netstat -t -b 90}
$ping = Start-Job {ping}
Wait-Job $netstat,$ping
Receive-Job $netstat,$ping

The first two lines will begin the netstat and ping jobs, and store the job objects. Wait-Job will wait until the two jobs are finished. Receive-Job displays the output.

share|improve this answer
thankyou so much for your help – Andres V Meza III May 26 '13 at 2:21

You could use start-process, if you're not picky about launching them in a separate window rather than in the background.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.