Jupyter notebook with windows cmd and bash

im on windows 10 and when i run the notebooks through the windows command prompt the gpu works, but the !ls and other bash commands don’t work. and if i run the notebooks through bash, the gpu support doesn’t work. is there a way to have jupyter notebook access both the windows command prompt and bash?