News for hackers. Stuff that matters.
Re:A Requiem for a Dying Operating System (1994) by andi999 on Friday September 04, 2020 @09:12AM (#24374596)
How to discover commands?
Re:A Requiem for a Dying Operating System (1994) by AnIdiotOnTheNet on Friday September 04, 2020 @09:19AM (#24374668)
Powershell pretty much has universal tab-complete. Typing a command, '-', and repeatedly hitting tab will cycle through all available arguments for that command, and arguments will be quite consistent between commands. But you can also tab complete variable names and the commands themselves.

Discovering the cmdlets is not as trivial as it could be, because they are named verb-first instead of noun first. Get-<tab> is not as useful as NetAdapter-<tab> might be, but since things are named sensibly you can do a little guess work and use tab-completion to find what you're looking for in the vast majority of cases.

Re:A Requiem for a Dying Operating System (1994) by majkinetor on Friday September 04, 2020 @09:54AM (#24374925)
> Discovering the cmdlets is not as trivial as it could be, because they are named verb-first instead of noun first

Irrelevant. Use

    Get-Command *network    #network anywhere in noun
    gcm *-network*          #network as first word in noun
PowerShell has it all, its just that people don't bother to learn it.
Re:A Requiem for a Dying Operating System (1994) by andi999 on Friday September 04, 2020 @10:02AM (#24374999)
Which good documentation do you recommend?
Re:A Requiem for a Dying Operating System (1994) by majkinetor on Friday September 04, 2020 @12:38PM (#24376511)
Poweshell in depth, or in month of launches.

But, experience is more important. Simply do everything in posh, even if there is a handy gui. After a few months you are closer to pro then with any books.

Re:A Requiem for a Dying Operating System (1994) by 0-_-0 on Friday September 04, 2020 @10:08AM (#24375037)
should't the first one be "network as last word"?
Re:A Requiem for a Dying Operating System (1994) by majkinetor on Friday September 04, 2020 @12:37PM (#24376500)
Indeed. My bad.