Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Can I use command instead of WMI classes to create Windows plugins?

I would like to create a Windows plugin to store connections from Windows represents by 'netstat -anob'.

 

I looked for WMI class that will fit for the need but I found only Win32_Process, but I got only executable and PID.

 

I wonder If it have some WMI that answer my question. If not, can I use a command instead or not?

 

Any suggestion and assistance would be appreciated.

 

Thanks :)

 

Phamornh

in External plugins by (210 points)

1 Answer

0 votes
You can use a command in vbs and parse it to send the result to the agent.

There is no problem to do it.
by (22k points)
 
Powered by Question2Answer
...