View Single Post
Old 04-09-2008   #3 (permalink)
Keith Hill [MVP]
Guest
 
Posts: n/a

Re: 'runwait' equivalent

"Cookiecutter" <Cookiecutter@xxxxxx> wrote in message
news:96C337E8-A68D-42B7-B500-C31323F97150@xxxxxx
Quote:

> Okay, so looking down 6 lines, I see that someone asked about running
> external commands. Sorry, I guess I just suck at searching also :-(.
>
> I'll use the Diagnostics.Proces objects as indicated in that thread for my
> purpose but can anyone tell me if this will add unecessary time to my
> measurements?
>
Another way is to just pipe the output to out-null e.g.:

PS> notepad | out-null

--
Keith