Hey, I was asking before about JS in Windows executables - and then I found out that it is quite often disabled as part of the general policy of disabling WSH. So it's sort of on par with PowerShell. But I would agree that this may be a good option because compared to cmd it's at leas a language you can program :)
Best. Oleg