Why does Select-Object take so long to keep the -first objects?
Friday, March 14th, 2008 by Don Jones
There's recently been a big discussion on the PowerShell MVP mailing list about Select-Object and its -first parameter, which instructs it to only keep the first "x" objects it's given. The discussion basically goes like this: 1..10000 | select -first 10 In this, a collection of objects numbering 1 to…   More »










