@badnetmask @hazelweakly @shanselman It's really quite different than bash; unfortunately they add a few command aliases that match Bash and common Unix commands which can make you think that, but the language is quite different and you get frustrated easily if you think of it just as a variant of Bash.
Better to actually learn it as powershell, and I wish they would drop some of the aliases (especially "curl" which behaves nothing like the real curl).