<file.exe> /s /x /b"<target-folder>" /v"/qn"(Source)
## In PowerShell run:
cmd /c '"C:\Program Files\Git\git-bash.exe" /c/Temp/test.sh'
## In cmd run:
"C:\Program Files\Git\git-bash.exe" /c/Temp/test.shOptional parameters for the git-bash might be --login -i -c (-i to indicate interactive mode, -c to indicate working directory).
A test.sh might look like this:
#!/bin/bash
echo "--> Tada! This message is from within the test.sh file. <--"
date > ./new_file.txt(Source and additional information about using the windows task scheduler)