Invoking powershell from Java

Posted by Hannes de Jager on Stack Overflow See other posts from Stack Overflow or by Hannes de Jager
Published on 2010-04-13T12:36:13Z Indexed on 2010/05/06 15:28 UTC
Read the original article Hit count: 302

Filed under:
|
|

Anyone know of a good library to invoke powershell scripts from within Java? I'm currently spawning a seperate process (powershell.exe) and then parse the output, but it would really be nice if I can leverage Powershell's 'power' by getting objects back from a powershell call.

Edit:

Otherwise, anyone else doing such interop? What method do you use?

© Stack Overflow or respective owner

Related posts about java

Related posts about powershell