> Now, you could try to write them in Python, which isn't the worst idea, but it's not a shell.

jupyter notebooks have filled this void for me, especially with vscode integration and ipywidgets. I want to learn and like powershell, but my junk drawer of automation helpers is too full to start from scratch.