No, power shells problem is that it cannot decide whether it's a programming language or a shell REPL, and ends up doing both badly. The syntax is too cryptic (and far too verbose) for a REPL, and too "shell-y" for a PL.
bash, for all its many many many flaws, is quite clearly a REPL first, PL second.
bash, for all its many many many flaws, is quite clearly a REPL first, PL second.