I have some perl scripts installed that I can execute on my Hostmon server to query my VMWare ESXi server. I have cut the scripts down so that they only output the exact detail I want to query.
I have been having trouble executing them as an external command and also I cannot import them as a Shell Script. They run fine in a command window on the hostmon server.
Is there some way I can go about using them?
Using Perl Scripts to gather data
I was looking at your documentation for Microsoft ActiveScripting sounds like I should get Perl listed in the language dropdown when Perl is installed on the server. However I still only see VBScript and JScript as opitions in the dropdown box for Language.
When I test it it returns a VBScript or JScript compilation error, depending on whichever I have selected.
Should I see Perl in the dropdown?
P.S. Many of the links in the Active Script documentation no longer work.
When I test it it returns a VBScript or JScript compilation error, depending on whichever I have selected.
Should I see Perl in the dropdown?
P.S. Many of the links in the Active Script documentation no longer work.
if you have ActivePerl installed and you want to use Active Script test method, you may type language name manually.I was looking at your documentation for Microsoft ActiveScripting sounds like I should get Perl listed in the language dropdown when Perl is installed on the server. However I still only see VBScript and JScript as opitions in the dropdown box for Language.
However I would recommend to use Shell Script test method instead.
You may use command line like cmd /c cscript /B /E:PerlScript %Script% %Params%
Regards
Alex