Tuesday, April 26, 2011

Different ways to open application/programs in powershell

I wanted to test start-up speed of Firefox, IE and Chrome. So I wanted to write a small script to open all these browsers in same time and see which browser opens faster.
If I wanted to write it in batch file, it would be something like this.

You can do the same thing in Powershell like this,

By the way winner is Chrome, I love you Firefox, but you have to start up faster :(

2 Comments :

Ritchie Flick said...

Was looking exactly for this, thanks.

pavan kumar said...

Nice one....