majkinetor
Joined 14 years ago
Joined 14 years ago
You can ask AI now to do it for you, you can probably find easily something somebody already did. It would have been nice if MS offered something that people can choose to install, but its far from a deal breaker like you seem to make it to be.
There is nothing to test, you want collection of aliases, that is trivial.
FWIW, they tried some things like https://github.com/PowerShell/Crescendo
tnc dns.google -t
I didn't even have to look for the alias, there is standard naming for them.Like I said before, people who complain just didn't RTFM and got out of their comfort zone.
its faster then this discussion.
Its not slop for one. Take a look at repo and its practices. Its mind blowing and predates AI.
Nushell is nice, but lets not get carried away - it is decade away from pwsh, and suffers from the same things you complained, with language and semantics that are not intutive as pwsh's and not nearly as complete. Besides, so many 3rd party supports pwsh like Sql Server, VMware etc.
I agree that MS should push it way more and make Linux variant even better. The problem is that pwsh hardly surived at MS (cudos to Snover for being stuborn and worked against his position at MS to make it happen), and that needs some opinionated people working in MS who can fight this battle (I could honestly dedicate my life to this, I offer my services, for both pwsh and Windows, Microsoft!).
With longer commands, auto complete is also viable. I hate some long forms, like % vs ForEach-Object and ? vs Where-Object, its just ludicrious that someone would insisit in using full forms of those.
Things like `ps | ? name -like w*` or `1..10 | % { irm https://.../$_ }` can't really get shorter and I use them all the time
Auto complete on params is epic. Type -e and ctrl space to see all params starting with e along with their aliases. Verbosity is good thing in that case, as -ea doesn't mean much when you are new to this.
ps -e<CTRL+SPACE>
ErrorAction ea ErrorVariable ev
The verbose practice is not meant for interactive use, but for sharing scripts.