Skip to content

Command Mint.Select-Object #76

@ninmonkey

Description

@ninmonkey

Verbs

  • Select - May modify existing objects, or even create new ones
  • Where - May only filter objects, it will never modify them

See related

Syntax examples

... | Mint.Select-Object -Expr 'Name, Length, ParentName: Parent.Name'
... | Mint.Select-Object -Expr Name, Length, 'ParentName: Parent.Name'

# auto name
... | Mint.Select-Object -Expr Name, Length, Parent.Name
    # Concatenate property names: 'ParentName'
... | Mint.Select-Object -Members @{
    TypeName = $one.GetType().Name
    RelPath  = [IO.Path]::GetRelativePath( (Gi '.'), $one.FullName )
}
... | Mint.Select-Object -DelayBindHash { @{
    TypeName = $_.GetType().Name
    RelPath  = [IO.Path]::GetRelativePath( (Gi '.'), $_.FullName )
} }

Sub-issues

Metadata

Metadata

Assignees

Labels

CommandCmdlets, Functions, AliasesParent GroupA top level container, or nested collections of issues

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions