JEA icon indicating copy to clipboard operation
JEA copied to clipboard

Exposing a JEA endpoint as a web service

Open Glober777 opened this issue 7 years ago • 1 comments

Hi!

Is there a way to expose a JEA endpoint as a web service, so that it could be used by an external system that knows how to make REST calls?

I already have a JEA endpoint that exposes a few custom cmdlets and it works through PS Remoting just fine. I've been asked to look into presenting those as a web service so that those same cmdlets could have been called by our ticketing system (which can make REST calls).

Thanks!

Glober777 avatar Aug 08 '18 15:08 Glober777

Unfortunately, there are no plans to create a REST interface for JEA. JEA is a combination of PowerShell and WinRM features, so to create a REST interface we'd first need to create a full REST interface for PS Remoting over WinRM. Given the stateful nature of PowerShell, this is not a great fit or priority.

While it may not be useful in this particular instance, Windows Admin Center has shown that you can create a web interface for JEA using remote PowerShell from a web server.

rpsqrd avatar Aug 08 '18 17:08 rpsqrd