This probe used to work, when I copied it to the new server it now reports 
missing command-line section.   I'm sure it something simple.


Code:
<!-- 
Comand Line Print List Probe (sd68.bc.ca.printer) 
Displays printers on a Server


--Aaron Arnold

--> 

<header> 
type="cmd-line" 
package="sd68.bc.ca" 
probe_name="printers" 
human_name="Windows Printer List" 
version="1.0" 
address_type="IP" 
</header> 

<description> 
\GB\Printers\p\ 

This probe list Windows printers using a custom WMI VB script.  It passes the 
IP address of the host ($ADDRESS) to a script which attempts to access the 
share.

This probe loads the VB script "shareprobe" from the "tools" folder under 
"intermapper settings".

</description> 

<command-line>
-- Empty path forces the InterMapper Settings:Tools directory
path="" 
cmd="c:\windows\system32\cscript.exe -nologo "c:\program 
files\intermapper\intermapper settings\tools\ListPrinters.vbs""
arg="${ADDRESS} 
</command-line>

<command-data> 
-- Currently unused. 
</command-data> 

<command-display>
 ${^stdout} 
</command-display>

 




-------------------- m2f --------------------

Read this topic online here:
http://forums.intermapper.com/viewtopic.php?p=3776#3776





____________________________________________________________________
List archives: 
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]

Reply via email to