Thanks guys for your answers.
I filled a suggestion on the Windows PowerShell feedback page on connect,
fill free to vote
https://connect.microsoft.com/feedba...3137&SiteID=99
Shay
http://scriptolog.blogspot.com
> The following returns all array items that equels to 3
>
> PS C:\Scripts> @(1,2,3,5,3,2) -eq 3
> 3
> 3
> How can I get the index numbers instead of the item content (i.e.,
> 2,4)?
>
> Shay
> http://scriptolog.blogspot.com