[Android Software/Hacking General [Developers Only]] DiamondJohn:
A little off topic, but I spoke to @osm0sis and he has ideas of building one himself.

I have found a busybox that runs on windows! This basically means you can run 90% of your ASH/BASH/POSIX scripts on windows.

You can download the EXE from

BusyBox for Windows

The things I like about this assembly:

No need to install, just place the exe in a known location

There are 3 ways to run it (see below)

I have used it to replace the windows command shell which is absolute rubbish and buggy & I dont wish to learn PowerShell to add things i need to remember. I have run C# scripting before, but I cant find the interpreter, it was on an old PC

One shared language between android shell, linux shell and now windows shell

Three ways I have found to use it:

Push DOS command STDOut through busybox applets. So, you can pass the output from a windows DIR command through busybox GREP eg dir c:\temp\*.* | busybox grep -i "hello" and not just grep, we are talking awk, tr, cut, sort etc etc etc

Open a busybox shell. This feels like you have adb'd into a windows box. eg busybox sh -l

Run an ash script eg busybox sh "C:\temp\myscript.sh"

I also had a surprise when I think I tried to switch to or list a windows protected folder, and it gave me a permission/security error. So I typed in su and it opened a new superuser enabled window!

Its 32b and there's a 64b version, but thats supposedly a little buggy.

I can also, from the busybox shell, run cmd line win apps, and retrieve/manipulate their std out in the busybox shell. I'll NEVER write another cmd script again, and trying recently showed just how little / uncomplex I had been in the past, and how rubbish it was.

This is a big thing for me personally as a LOT of my scripts use sqlite, but since I am on a windows box, I have to get the win compatible sqlite3 exe to do the query (it comes with the platform tools), then even put it in a busybox var. And of course, it wont be limited to just sqlite3

For example:

~~$ test="$(cmd /c "C:/PROGRA~1/Java/Android/platform-tools/sqlite3" "G:/Transfer/AndroidInitScripts/Pixel4A/_MUSIC/music_played.db" "SELECT * FROM played LIMIT 10;")"
~~$ echo "$test";
17958|Hooverphonic-Mad About You.mp3|18000|A|2022-10-08 02:25:03
17959|Beatles-I'm Looking Through You.mp3|18000|A|2022-10-08 02:25:03
17960|Diana Ross - I'm Coming Out.mp3|18000|A|2022-10-08 02:25:03
17961|Iggy Pop - Well, Did You Evah! (Ft. Deborah Harry).mp3|18000|A|2022-10-08 02:25:03
17962|R Kelly-Ignition (Remix).mp3|18000|A|2022-10-08 02:25:03
17963|Dixie Cups - Iko Iko.mp3|18000|A|2022-10-08 02:25:03
17964|015 - John Lennon - Imagine.mp3|18000|A|2022-10-08 02:25:03
17965|The Beatles - Imagine (John Lennon).mp3|18000|A|2022-10-08 02:25:03
17966|Led Zeppelin-Immigrant Song.mp3|18000|A|2022-10-08 02:25:03
17967|Stereophonics - In A Moment (Remix).mp3|18000|A|2022-10-08 02:25:03

NB: It didnt like spaces in path/filenames and hence the "PROGRA~1" instead of "Program Files" But I would simply move it somewhere else or maybe a junction point/symlink on the win box (do I hear Magisk systemless....)

I haven't tested it, but i think the above also means I would have access to a LOT of PowerShell commands, from within a BusyBox shell script, and their STDOUT.