Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Missing - "sort" alias for Sort-Object #827

Copy link
Copy link
@shanselman

Description

@shanselman
Issue body actions

I use aliases like "sort" in Windows...in PowerShell for Linux do local exes in the path take precedence over aliases? Perhaps "sort" is missing.

There are 155 aliases in PowerShell for Windows and 113 on Ubuntu. That's a pretty big gap.

PS /home/scott/Desktop> Get-Process | Sort VM -desc | Select -first 5 | Format-Table
Sort : The term 'Sort' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:15

  • Get-Process | Sort VM -desc | Select -first 5 | Format-Table
  •           ~~~~
    
    • CategoryInfo : ObjectNotFound: (Sort:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

image

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.