![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Suggestion: Consider shorter standard names for Alias.Function, and Variable PSDrives https://connect.microsoft.com/feedba...0584&SiteID=99 We currently have lengthy names for "built in" PSDrives, making them harder to type. In the non-FS list of pre-mapped PSDrives shown at bottom, you can see that abbreviated names are used for two "single-drive" provider drives, Env: and cert:. For the registry drives, the well-known 4-letter names are used for drives rooted in base hives. I don't think there's any question that using shorter names for the Certificate and Environment stores was wise. They are clearly the longest named providers (11 chars each). Due to their wide use, I suggest that the Alias, Function, and Variable PSDrives also have shorter names. This helps with ergonomics. Alias should probably be al: (from the standard truncated form of Alias). Function should probably be fn: (simple, suggestive to people who have taken math, and a likely abbreviation if we ever have Function cmdlets). Variable should probably be var: (recognizable; used instead of the standard abbreviation 'v' since v might be a physical drive). Name Provider Root ---- -------- ---- Alias Alias cert Certificate \ Env Environment Function Function HKCU Registry HKEY_CURRENT_USER HKLM Registry HKEY_LOCAL_MACHINE Variable Variable |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Using a variable from within a function | PowerShell | |||
| Suggestion: New special variable for pipeline enumeration index | PowerShell | |||
| setting a function for alias | PowerShell | |||
| How To: Create Dynamic Variable Names in Scripts | PowerShell | |||
| Suggestion: Add the 6 missing standard aliases to PowerShell | PowerShell | |||