![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
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 | How does -contains work? Why is this false? [26] PS I:\>(1,2),3 -contains (1,2) False I think this should be True... -- Tibor |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||
| Guest | RE: How does -contains work? Probably the same type of problem with the -eq operator: [19] PS I:\>(1,2),3 -eq 1,2 [20] PS I:\>1,2 -eq 1,2 Both give null. -- Tibor "Tibor Soos" wrote:
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #3 (permalink) | ||||||||||||||||||||||||||||||||||||||||||||||||
| Guest | Re: How does -contains work? On Mar 11, 12:08*pm, Tibor Soos <TiborS...@xxxxxx> wrote:
- Oisin | ||||||||||||||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||||||||||||||
| | #4 (permalink) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Guest | Re: How does -contains work? But why? -- Tibor "Oisin (x0n) Grehan [MVP]" wrote:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | #5 (permalink) | ||||||||||||
| Guest | Re: How does -contains work? Tibor Soos wrote:
I don't know if the comparison operators were meant to do that... -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com | ||||||||||||
My System Specs![]() | |||||||||||||
| | #6 (permalink) | ||||||||||||||||||||||||||||||||||||||||||||||||
| Guest | Re: How does -contains work? On 12 мар, 02:08, Tibor Soos <TiborS...@xxxxxx> wrote:
You may try this: ((1,2,3),(1,2),3)|?{[string]$_ -eq '1 2'} | ||||||||||||||||||||||||||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||||||||||||||||||||||||||
| | #7 (permalink) | ||||||||||||||||||||||||
| Guest | Re: How does -contains work? "Marco Shaw [MVP]" wrote:
objects... | ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Still searching for way to get Vista search to work: Why doesn't FilterFilesWithUnknownExtensions registry key work in Vista? | Celegans | Vista General | 11 | 08-31-2007 09:04 AM |
| Some administrator work doesn't work | Rem-8 | Vista General | 4 | 05-19-2007 07:08 AM |
| all cd's don't work, but dvd's still work | Phil | Vista hardware & devices | 2 | 05-18-2007 09:35 AM |
| HP LaserJet 1010 don't work in Vista since Beta2 - Advanced 1384 Printing Support drivers for XP don't work | Alexey | Vista print fax & scan | 2 | 10-18-2006 07:05 PM |
| Will all the programs that work on xp work on vista? | exciter | Vista General | 14 | 10-06-2006 11:40 PM |