Skip to content

The "PowerShell: Resolve Expand Alias" feature should do more #338

Description

@Jaykul

Expand Alias ought to resolve parameter aliases and short forms to full parameter names (if you need it, there is code in PoshCode/CodeFlow) for the sake of future-proofing scripts.

Expand Alias ought to also (have an option to) expand command names to fully-qualified module names to avoid ambiguity -- or perhaps offer to add an Import-Module at the the top for all the module's you're using?

System Details

  • Operating system name and version: Windows 10 AU
  • VS Code version: 1.7.0-insider
  • PowerShell extension version: 0.7.2 (who's afraid of the big 1.0?)
  • Output from $PSVersionTable:
Name                           Value
----                           -----
PSVersion                      5.1.14393.206
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.206
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Activity

  1. added this to the 0.10.0 milestone on Dec 6, 2016
  2. modified the milestones: 0.12.0, on Apr 4, 2017
  3. modified the milestones: , May 2017 on May 8, 2017
  4. modified the milestones: July 2017, on Oct 26, 2017
  5. modified the milestone: on May 24, 2018
  6. removed this from the milestone on Jan 26, 2021
  7. andyleejordan commented on Jun 16, 2026

    @andyleejordan
    Member

    Closing this during a backlog-triage pass. This enhancement request has had little or no activity since ~2016 and isn't on the current roadmap. That's not a judgment on the idea — if it's still something you'd like, please leave a comment or open a fresh issue with an up-to-date use case and we'll gladly reconsider. Thanks for the original suggestion!

    🤖 Drafted by GitHub Copilot at Andy Jordan (@andyleejordan)'s request — pending maintainer review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions