to run a shell script, you can use wsl
to download wsl, run
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
now go to microsoft store and download ubuntu
then open the app and it will install a bash shell
enter a username and password and you will have a linux shell with windows
download and run your bash script on it
Open Command Prompt and navigate to the folder where the script file is available.
Type Bash script-filename.sh and hit the enter key.