It seems that Adaxes runs on Powershell 5.1.17763.2268 and does not use any newer PS Versions installed. I guess a workaround could be to run an external program and call pwsh7. Not the nice way, but that could be working.
Is there any other idea/way to change the ps version?