3 ms·
Doesn't help that a lot of commands have the same prefix 'Get-' / 'Set-', 'Add-', etc, so you have to type at least 6 characters, including a '-', to get useful
by _ikke_ 8y ago
Doesn't help that a lot of commands have the same prefix 'Get-' / 'Set-', 'Add-', etc, so you have to type at least 6 characters, including a '-', to get useful completion.
- stephengillie 8y agoThese are the approved verbs. Powershell function names have to be in "verb-noun" format, forcing a level of standardization on the language. It seems like an odd idea to me. https://msdn.microsoft.com/en-us/library/ms714428(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/ms714428(v=vs.85).a...
- jazzdev 8y agoPowershell has aliases, so you can use 'ls' instead of 'Get-ChildItem'. My colleagues tend to use Get-ChildItem in scripts and ls when typing at the command prompt. Personally, I prefer 'ls' for scripts too. I would never use "rd" for a variable name, but since I speak Unix, the more concise 'ls' seems better. To my colleagues without a Unix background, Get-ChildItem, probably is a better choice.