Re:How Microsoft brought SQL Server to Linux
by lenkite on Tuesday July 25, 2017 @12:43PM
(#14849268)
You don't have to remember anything in powershell as you get parameter completion and command completion by default. Powershell useability beats the standard UNIX shells (bash/zsh) in command discovery and assistance. You even use PSReadLine if you want VI keybindings at the command line.
[ Parent
| on HN ]
Re:How Microsoft brought SQL Server to Linux
by ethbro on Tuesday July 25, 2017 @06:06PM
(#14852308)
Am I using it wrong? I realize a large majority of those aren't used frequently, but there are ~250 cmdlets, each of which attempts to have a unique-but-also-generic name.
https://technet.microsoft.com/en-us/library/ff714569.aspx
Let's say I didn't know ForEach-Object existed (trivial example, but generalizes), how do I find out there is a cmdlet that does what I'm looking for?
Re:How Microsoft brought SQL Server to Linux
by lenkite on Friday July 28, 2017 @01:19PM
(#14875860)
`Get-Command` lists all the cmdlets in the current sesion. You can also alternatively hit `help -category cmdlet` which lists all cmdlets with their short alias and long name. You can do `man -category cmdlet` if you wish to page through. The first thing in powershell you should do is `help help` :).