how do I get activate.bat to work using pycharm powershell as terminal

I’m trying to set up virtual env for pytest using pycharm which is using powershell for the terminal and the activate.bat is not recognized and neither is the .activate.bat it suggests