Skip to content

Feature Request: Add suggestions for common cmd.exe commands #9006

@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature/enhancement

Users trying to move from cmd to PowerShell struggle with muscle memory on commands like dir /s which don't work since dir is an alias to get-childitem and parameters start with a hyphen and /s for subdirectories would need to be -r for recursion.

Proposed technical implementation details (optional)

Have a built in list of common cmd built-in commands and when the user tries it, a CommandNotFoundException is thrown the suggestion framework can suggest the PowerShell equivalent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-DeclinedThe proposed feature is declined.WG-Enginecore PowerShell engine, interpreter, and runtimeWG-Interactive-IntelliSensetab completion

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions