This powershell command dumps the Pid and the Command Line

*Get-WmiObject Win32_Process -Filter "Name like '%chrome%'" | Format-List
ProcessId, CommandLine*



On 18 March 2011 14:00, mike smith <[email protected]> wrote:

> On Fri, Mar 18, 2011 at 11:56 AM, Hoss Ravanparsa <[email protected]>
> wrote:
> > On Fri, Mar 18, 2011 at 11:49 AM, mike smith <[email protected]> wrote:
> >> On Fri, Mar 18, 2011 at 10:34 AM, Bec Carter <[email protected]>
> wrote:
> >>> lol I swear I tried this before and it didn't work :-) Thanks
> >>>
> >>> On Fri, Mar 18, 2011 at 10:30 AM, Wallace Turner
> >>> <[email protected]> wrote:
> >>>> I just tried this, and it worked :)
> >>>>
> >>>> C:\Users\wal\AppData\Local\Google\Chrome\Application\chrome.exe
> >>>> www.microsoft.com www.iinet.net.au
> >>>>
> >>>> ie, pass the URL's as args
> >>
> >> Ok, next question:  Chrome runs all tabs in separate processes.  From
> >> a PID, can you discover the URL associated with it?  (PID to windows
> >> title seems to give a blank)
> >>
> >
> > You could bring up the Chrome task manager and tell it to show the
> > Process ID column
>
> SO I could, didn't know it had one until now. Thanks.
>
> Stats for nerds is useful, too.
>
> >
> >> Reason for this is I was curious about which urls were making Chrome
> >> eat more resources.
> >>
> >>
> >> IE9 - Ok, I installed it, it gave me a list of apps which had it in
> >> use, and which it wanted shut down, or it'd need to do a restart
> >> (fine, I shut them down, all the more useful apps I had running)  then
> >> it shutdown the desktop explorer, installed, and requested a restart.
> >> Sigh, if you're going to restart anyway, you might as well leave all
> >> the apps running.  Then it restarted, and requested another restart!!!
> >>  On the good side, it does run an IE only app we use internally, which
> >> would not run on my machine's copy of IE8.
> >>
> >>>>
> >>>> On 18/03/2011 7:24 AM, Bec Carter wrote:
> >>>>>
> >>>>> G'Day all!
> >>>>>
> >>>>> Anybody know if it's possible to call Chrome from the command line
> and
> >>>>> have it open multiple tabs which I specify?
> >>>>>
> >>>>> Cheers
> >>>>> Bec
> >>>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >>
> >> --
> >> Meski
> >>
> >> "Going to Starbucks for coffee is like going to prison for sex. Sure,
> >> you'll get it, but it's going to be rough" - Adam Hills
> >>
> >
>
>
>
> --
> Meski
>
> "Going to Starbucks for coffee is like going to prison for sex. Sure,
> you'll get it, but it's going to be rough" - Adam Hills
>



-- 
regards,
Preet, Overlooking the Ocean, Auckland

Reply via email to