Then developers wouldn't need to use windows, since Powershell is available on Linux as well. It's also a sane modern language, compared with .bat, which is virtually impossible to reason about and debug.
I don't think there should be any problem requiring pwsh 5+ to run the tests on windows. It's preinstalled on win 10, and available for older platforms.