News for hackers. Stuff that matters.
Re:Simple PowerShell things allowing you to dig a bit deeper... by throw1234651234 on Tuesday August 22, 2023 @10:46AM (#37223514)
I love Windows, .NET, and Azure. Genuinely. But I use Bash. Powershell has a lot of what seems like custom-syntax for every little thing and I can't be bothered to memorize it.

Also, you guys can probably install GitBash and claim it just came with Git...

Re:Simple PowerShell things allowing you to dig a bit deeper... by qwefloij23 on Tuesday August 22, 2023 @11:14AM (#37223937)
Actually you need to memorize million times less stuff to use powershell comparing to bash. This is because everything is a string in bash, so you have to learn a custom DSL for each task. Want to parse a JSON? Learn jq. Want to parse XML? Learn xmlstarlet. etc. In powershell you just use ConvertFrom-JSON to convert json to object and then use normal powershell syntax to access object properties instead of using custom DSL. That's the problem with bash - learn million DSLs for each file type, format, etc.