For PowerShell there is the PowerShell ISE (ISE.exe) which is included out of the box, I think. But that's a far cry from the simplicity of BASIC, of course. And I guess the modern equivalent is probably JavaScript in the browser, but that's a whole other can of worms for beginning programming.