NetXMS Support Forum

English Support => General Support => Topic started by: mlembke on April 26, 2013, 12:18:56 AM

Title: Executing Powershell with Tabel result.
Post by: mlembke on April 26, 2013, 12:18:56 AM
Hi,

i would like to execute some Powershell scripts like this...

Get-WmiObject win32_printer | select name, printerstatus, detectederrorstate

This Returns a list as you can see.
My first question is, how do i Setup this in NetXMS Server/Agent?

Is there a possibility to get this in a table?

thanks

Markus
Title: Re: Executing Powershell with Tabel result.
Post by: Victor Kirhenshtein on April 29, 2013, 10:46:57 AM
Hi!

There are no external table support in agent. However, most likely you'll be able to create external parameters provider script: http://wiki.netxms.org/wiki/ExternalParametersProvider (http://wiki.netxms.org/wiki/ExternalParametersProvider).

Best regards,
Victor
Title: Re: Executing Powershell with Tabel result.
Post by: mlembke on May 08, 2013, 07:10:22 AM
Hi Victor,

thanks for your reply.
I will try it.

Best regards,
Markus