I believe that if you run a python shell to call your powershell scripts it will work. I am working on something similar for shell scripts, but it is not running yet. it will run through a remote gateway plugin.
At least that is the plan
It may be because of permissions, plugin service is working on dynatrace user that is created during Agent installation. If this user does not have permissions than it may not work 🙂