如何在Java上跑Windows PowerShell cmdlet?# Java - 爪哇娇娃
S*h
1 楼
We want to host a Web Service in an internet facing web server and push software updates to Windows and Linux machines from this Web Service. In the Windows environment,the Windows machine management tasks are typically done by Windows PowerShell with Windows Management Instrumentation(WMI) query.
In our initial analysis, we prefer to use Java and Apache Axis2 to implement this Web Service. The question comes to how to make Java execute PowerShell commands in the web service? If Java can’t do this, are there other alternatives that can make this web service perform OS configuration and machine management tasks for both Windows and Linux machines?
先谢过
In our initial analysis, we prefer to use Java and Apache Axis2 to implement this Web Service. The question comes to how to make Java execute PowerShell commands in the web service? If Java can’t do this, are there other alternatives that can make this web service perform OS configuration and machine management tasks for both Windows and Linux machines?
先谢过