|
Re: Bug? Shouldn't Stop-Process automatically match Id if object is a "dreeschkind" <dreeschkind@discussions.microsoft.com> wrote in message
news:1EA3B494-3BCC-431A-80F2-36F49752E29D@microsoft.com...
> Interesting, I would expect this to work.
> Isn't this similar to e.g. the remove-item cmdlet?
> Remove-Item accepts path names (Strings) and objects references
> (System.IO.FileInfo). I think Stop-Process cmdlet should then support
> process
> Id (Int32) and object references (System.Diagnostics.Process), too.
Yeah, you would think that Stop-Process would recognize and understand how
to stop a process described by a System.Diagnostics.Process object. Submit
it and I'll vote on it.
--
Keith |