There's probably a really round-about way that you could do it by having a server setup as a Management OData endpoint so you could call the PowerShell using a web service. You might even be able to tell that server to remote back in to the calling client to run something locally, but it's horrible and probably not worth the trouble.