First of all, i`m .NET developer and LOVE LINQ and extension methods in C#. But when i scripting i need something equivalent to Enumerable extension methods
Can anybody give me any suggestion/explain best practice about how to work in such scenarios in Powershell. For example, assume i want to take max element from array:
$arr = @(2, 1, 3)
$max = $arr.MAX() #?? what should i do in this case?