Object presence in a collection

by Feb 7, 2012

Hi All. Sorry for my English…

How in PowerShell to check up presence of object in an array? Very much it would not be desirable to use for this purpose ' foreach '. Whether there is more laconic method? In a C# I used Linq, but here as I see, it is not accessible. Or I am mistaken and it is possible to use Linq? Whether It is possible in PowerShell to use the generic collections?