为什么在powershell中不称为select属性?

为什么在powershell中不称为select属性?,powershell,powershell-2.0,powershell-3.0,Powershell,Powershell 2.0,Powershell 3.0,一个例子 get process |选择对象vm、cpu、id | out gridview 这里的select object实际上是选择存储在内存中的集合中对象的属性 任何人都知道为什么不调用此cmdletselect属性 也许我在问一个问题 调用Select Object Blah、Blah1、Blah2时,通过位置绑定使用属性参数 请注意,帮助描述的不仅仅是您正在使用的-Property参数: Get-Help Select-Object -Full <# ...

一个例子

get process |选择对象vm、cpu、id | out gridview

这里的
select object
实际上是选择存储在内存中的
集合中
对象的
属性

任何人都知道为什么不调用此cmdlet
select属性


也许我在问一个问题

调用Select Object Blah、Blah1、Blah2时,通过位置绑定使用属性参数

请注意,帮助描述的不仅仅是您正在使用的-Property参数:

Get-Help Select-Object -Full

<# 
    ...
    The Select-Object cmdlet selects specified properties of an object or set 
    of objects. It can also select unique objects, a specified number of 
    objects, or objects in a specified position in an array.

    To select objects from a collection, use the First, Last, Unique, Skip, and 
    Index parameters. To select object properties, use the Property parameter. 
    When you select properties, Select-Object returns new objects that have 
    only the specified properties.
#>
最后,如果您讲的是语义,PowerShell命令名中的名词指的是动词所作用的对象


干杯

由于Powershell中的所有内容都由对象组成,因此将cmdlet命名为
select object
对于一致性而言似乎是有意义的,因为此cmdlet的目的是访问给定对象上的属性。哈,这就是为什么,
它还可以选择唯一的对象、指定数量的对象,或数组中指定位置的对象。若要选择对象属性,请使用属性参数。
。谢谢
#Get the full help details
Get-Help Select-Object -Full

#If available, look online for help
Get-Help Select-Object -Online

#List conceptual topics
Get-Help about_*

#Read about regular expressions
Get-Help about_Regular_Expressions