![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | PowerShell gets VERY upset Try this command: get-process | select-object [a-z]* PowerShell gets VERY upset with multiple error messages. I'm unclear why it should. Thoughts? PowerShell seems to get even more upset with this: get-process | select-object [a-z]* | more I think it's only grouping all the error messages together. But why don't these (arguably not very useful) commands "just work"? Andrew Watt MVP |
| | #2 (permalink) |
| Guest | Re: PowerShell gets VERY upset "Andrew Watt [MVP]" <SVGDeveloper@aol.com> wrote in message news:fvvio2dhdaviqovn96664o65bgq81ql1q9@4ax.com... > Try this command: > > get-process | select-object [a-z]* > > PowerShell gets VERY upset with multiple error messages. Certain properties can't be read until the process has exited like (ExitCode and ExitTime). Also certain processes are protected system processes and usually result in access denied errors when you try to read their properties. You can filter those out like so: ?{$_.Name -notmatch "(^csrss$|^idle$)"} -- Keith |
| | #3 (permalink) |
| Guest | Re: PowerShell gets VERY upset or you can just ignore the errors : get-process | select-object [a-z]* -ea 'SilentlyContinue' greetings /\/\o\/\/ "Keith Hill [MVP]" wrote: > > "Andrew Watt [MVP]" <SVGDeveloper@aol.com> wrote in message > news:fvvio2dhdaviqovn96664o65bgq81ql1q9@4ax.com... > > Try this command: > > > > get-process | select-object [a-z]* > > > > PowerShell gets VERY upset with multiple error messages. > > Certain properties can't be read until the process has exited like (ExitCode > and ExitTime). Also certain processes are protected system processes and > usually result in access denied errors when you try to read their > properties. You can filter those out like so: > > ?{$_.Name -notmatch "(^csrss$|^idle$)"} > > -- > Keith > > > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Password In Mail has me Baffled and Upset (HELP) | Lost In West Virginia!!!!!! (HELP) | Vista mail | 6 | 10-29-2007 11:00 PM |
| PowerShell Leaders Join Forces and offer a pre-release version of PowerShell for 50% off the retail value | klumsy@xtra.co.nz | PowerShell | 0 | 06-19-2007 02:42 PM |
| I'm really upset with Vista! | TheDarkKnight | Vista mail | 7 | 02-21-2007 07:25 PM |
| Help My ISP is upset | mjpsmith | Vista mail | 4 | 01-29-2007 07:12 PM |
| File Corruption - very upset ! | Synapse Syndrome | Vista General | 16 | 11-24-2006 12:19 PM |