Fix docker-env
with new PowerShell versions
#12870
Merged
docker-env
with new PowerShell versions
#12870