Skip to content

Show-ObjectTree is aliased as sot, but the canonical alias for "Show" is "sh" (not "s") #228

@RH-TLagrone

Description

@RH-TLagrone

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Show-ObjectTree is aliased as sot, but the canonical alias for the verb "Show" is "sh" (not "s").

Notes

 
Run the following in PowerShell...

Get-Verb | Where-Object AliasPrefix -In @('s', 'sh')

...to see the canonical verb aliases:

Verb AliasPrefix Group  Description
---- ----------- -----  -----------
Set  s           Common Replaces data on an existing resource or creates a resource that contains some data
Show sh          Common Makes a resource visible to the user

See Also

Expected behavior

PS> Import-Module Microsoft.PowerShell.ConsoleGuiTools && Get-Alias -Definition Show-ObjectTree

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           shot -> Show-ObjectTree                            0.7.6.0    Microsoft.PowerShell.ConsoleGuiTools

Actual behavior

PS> Import-Module Microsoft.PowerShell.ConsoleGuiTools && Get-Alias -Definition Show-ObjectTree

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           sot -> Show-ObjectTree                             0.7.6.0    Microsoft.PowerShell.ConsoleGuiTools

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.9
PSEdition                      Core
GitCommitId                    7.3.9
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

0.7.6.0

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions