Title: Get-Verb should list alias prefixes too (extend System.Management.Automation.VerbInfo) · Issue #4372 · PowerShell/PowerShell · GitHub
Open Graph Title: Get-Verb should list alias prefixes too (extend System.Management.Automation.VerbInfo) · Issue #4372 · PowerShell/PowerShell
X Title: Get-Verb should list alias prefixes too (extend System.Management.Automation.VerbInfo) · Issue #4372 · PowerShell/PowerShell
Description: Related documentation issue: MicrosoftDocs/PowerShell-Docs#1480 Get-Help helpfully lists the verb names and the group they fall into. However, it doesn't list the - also standardized - alias prefix associated with each verb, such as g fo...
Open Graph Description: Related documentation issue: MicrosoftDocs/PowerShell-Docs#1480 Get-Help helpfully lists the verb names and the group they fall into. However, it doesn't list the - also standardized - alias prefix...
X Description: Related documentation issue: MicrosoftDocs/PowerShell-Docs#1480 Get-Help helpfully lists the verb names and the group they fall into. However, it doesn't list the - also standardized - alias pr...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4372
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get-Verb should list alias prefixes too (extend System.Management.Automation.VerbInfo)","articleBody":"\u003csup>Related documentation issue: https://github.com/PowerShell/PowerShell-Docs/issues/1480\u003c/sup>\r\n\r\n`Get-Help` helpfully lists the verb names and the group they fall into.\r\n\r\nHowever, it doesn't list the - also standardized - **alias prefix** associated with each verb, such as `g` for `Get` and `ip` for `Import`, as defined in [Approved Verbs for Windows PowerShell Commands](https://technet.microsoft.com/en-us/library/ms714428(v=vs.85).aspx).\r\n\r\nHaving these aliases readily available for reference would help establish a common, consistent language for _aliases_ too, which in the long run would hopefully make people move away from the hotly debated _legacy_ aliases.\r\n\r\nIt looks like all that is needed is to an `.AliasPrefix` property to type `[System.Management.Automation.VerbInfo]`.\r\n\r\n\r\nCurrent behavior\r\n------------------\r\n\r\n```powershell\r\n> Get-Verb | Select-Object -First 3\r\n\r\nVerb Group \r\n---- ----- \r\nAdd Common\r\nClear Common\r\nClose Common\r\n```\r\n\r\nDesired behavior\r\n-----------------\r\n\r\n```powershell\r\n> Get-Verb | Select-Object -First 3\r\n\r\nVerb Group Alias Prefix\r\n---- ----- ---------\r\nAdd Common a\r\nClear Common cl\r\nClose Common cs\r\n```\r\n\r\nFor easy reference, here's the current mapping (without group) information:\r\n\r\n```none\r\nAdd (a)\r\nApprove (ap)\r\nAssert (as)\r\nBackup (ba)\r\nBlock (bl)\r\nCheckpoint (ch)\r\nClear (cl)\r\nClose (cs)\r\nCompare (cr)\r\nComplete (cp)\r\nCompress (cm)\r\nConfirm (cn)\r\nConnect (cc)\r\nConvert (cv)\r\nConvertFrom (cf)\r\nConvertTo (ct)\r\nCopy (cp)\r\nDebug (db)\r\nDeny (dn)\r\nDisable (d)\r\nDisconnect (dc)\r\nDismount (dm)\r\nEdit (ed)\r\nEnable (e)\r\nEnter (et)\r\nExit (ex)\r\nExpand (en)\r\nExport (ep)\r\nFind (fd)\r\nFormat (f)\r\nGet (g)\r\nGrant (gr)\r\nGroup (gp)\r\nHide (h)\r\nImport (ip)\r\nInitialize (in)\r\nInstall (is)\r\nInvoke (i)\r\nJoin (j)\r\nLimit (l)\r\nLock (lk)\r\nMeasure (ms)\r\nMerge (mg)\r\nMount (mt)\r\nMove (m)\r\nNew (n)\r\nOpen (op)\r\nOut (o)\r\nPing (pi)\r\nProtect (pt)\r\nPublish (pb)\r\nPush (pu)\r\nRead (rd)\r\nReceive (rc)\r\nRedo (re)\r\nRegister (rg)\r\nRemove (r)\r\nRename (rn)\r\nRepair (rp)\r\nRequest (rq)\r\nReset (rs)\r\nResolve (rv)\r\nRestart (rt)\r\nRestore (rr)\r\nResume (ru)\r\nRevoke (rk)\r\nSave (sv)\r\nSearch (sr)\r\nSelect (sc)\r\nSend (sd)\r\nSet (s)\r\nShow (sh)\r\nSkip (sk)\r\nSplit (sl)\r\nStart (sa)\r\nStep (st)\r\nStop (sp)\r\nSubmit (sb)\r\nSuspend (ss)\r\nSwitch (sw)\r\nSync (sy)\r\nTest (t)\r\nTrace (tr)\r\nUnblock (ul)\r\nUndo (un)\r\nUninstall (us)\r\nUnlock (uk)\r\nUnprotect (up)\r\nUnpublish (ub)\r\nUnregister (ur)\r\nUpdate (ud)\r\nUse (u)\r\nWait (w)\r\nWatch (wc)\r\nWrite (wr)\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\nPowerShell Core v6.0.0-beta.4\r\n```\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2017-07-28T14:18:38Z","url":"https://github.com/PowerShell/PowerShell/issues/4372"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b3f8ee2a-f0a2-deec-1f5a-a0839f030f49 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B38:2D5CA1:2FA0F:42124:6AFD8776 |
| html-safe-nonce | b993fabb698d2137184ac5a1469b32e3294883c487bd137ae41286a8f1995a19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjM4OjJENUNBMToyRkEwRjo0MjEyNDo2QUZEODc3NiIsInZpc2l0b3JfaWQiOiIxMTM5NjU5MTYyNzg3ODc0Njc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 59709a3e70f77ad1f7991356bbc16030d59e726dfd4b9bda474e468f2b9176be |
| hovercard-subject-tag | issue:246360970 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/4372/issue_layout |
| twitter:image | https://opengraph.githubassets.com/365734383fa3f96836758db2078c4e6049d1e153748f83493fe3f9a8a6a9cffc/PowerShell/PowerShell/issues/4372 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/365734383fa3f96836758db2078c4e6049d1e153748f83493fe3f9a8a6a9cffc/PowerShell/PowerShell/issues/4372 |
| og:image:alt | Related documentation issue: MicrosoftDocs/PowerShell-Docs#1480 Get-Help helpfully lists the verb names and the group they fall into. However, it doesn't list the - also standardized - alias prefix... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mklement0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width