View Single Post
Old 05-25-2006   #2 (permalink)
Keith Hill [MVP]


 
 

Re: Adding canonical aliases for Compare-Object, Measure-Object, New-Object

"Alex K. Angelopoulos [MVP]" <a k a @ m v p s . o r g> wrote in message
news:uKcTvO$fGHA.5104@TK2MSFTNGP04.phx.gbl...
> Vote on this, please.
>
> https://connect.microsoft.com/feedba...edbackID=79879
>
>
> Of the 9 object cmdlets, 6 have at least a canonical alias composed from
> the verb:
>
> ForEach-Object: foreach,%
> Group-Object: group
> Select-Object: select
> Sort-Object: sort
> Tee-Object: tee
> Where-Object: where,?
>
> Given the central role of object cmdlets and that we also want to provide
> a standard, uniform experience for users, I suggest that the remaining 3
> cmdlets be given aliases based on their verb as well, like this:
>
> Set-Alias compare Compare-Object
> Set-Alias measure Measure-Object
> Set-Alias new New-Object


I've suggested a "measure" alias for measure-object before. I like the idea
of providing aliases for the others.

--
Keith


My System SpecsSystem Spec