Closed RH-TLagrone closed 8 months ago
Show-ObjectTree is aliased as sot, but the canonical alias for the verb "Show" is "sh" (not "s").
Show-ObjectTree
sot
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
VerbsCommon.Set Field (System.Management.Automation) | Microsoft Learn
VerbsCommon.Show Field (System.Management.Automation) | Microsoft Learn
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
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
No response
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
0.7.6.0
Prerequisites
Steps to reproduce
Show-ObjectTree
is aliased assot
, but the canonical alias for the verb "Show" is "sh" (not "s").Notes
Run the following in PowerShell...
...to see the canonical verb aliases:
See Also
VerbsCommon.Set Field (System.Management.Automation) | Microsoft Learn
VerbsCommon.Show Field (System.Management.Automation) | Microsoft Learn
Expected behavior
Actual behavior
Error details
No response
Environment data
Version
0.7.6.0
Visuals
No response