4 ms·
As I understand it, PowerShell came about because porting the standard Linux/Unix utilities to Windows didn't work out. PowerShell meets both requirements as i
by chrisfinazzo 7y ago
As I understand it, PowerShell came about because porting the standard Linux/Unix utilities to Windows didn't work out.
PowerShell meets both requirements as it's tuned for the Windows environment, but can still play nicely with the rest of the world.
Of course, now that WSL is a thing, it's a real question why someone would want to use PS unless they had no other options.
https://www.heavybit.com/library/podcasts/to-be-continuous/ep-37-the-man-behind-windows-powershell/ https://www.heavybit.com/library/podcasts/to-be-continuous/e...
- sjy 7y agoPowerShell has real data structures (arrays and hash tables), built-in functional programming tools (Select-Object, ForEach-Object, Where-Object), GUI cmdlets (Out-GridView) and direct access to .NET libraries. It’s a viable tool for many complex tasks where on Unix, you’d need to reach for Python rather than a shell.
- vips7L 7y ago>Of course, now that WSL is a thing, it's a real question why someone would want to use PS unless they had no other options. I use it because I only have to learn one tool, and not a ton of different ones with different UX. The 'language' is sane, at least to me, as it's object oriented doesn't revolve around parsing strings.