﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>New Boundary Support Forum / Prism Deploy &amp; Prism Pack / Tips and Tricks  / Function to add right click pollchannel / Latest Posts</title><generator>InstantForum.NET v4.1.3</generator><description>New Boundary Support Forum</description><link>http://www.nbtnet.newboundary.com/forum/</link><webMaster>support@newboundary.com</webMaster><lastBuildDate>Fri, 29 Aug 2008 03:01:06 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Function to add right click pollchannel</title><link>http://www.nbtnet.newboundary.com/forum/Topic1309-8-1.aspx</link><description>I like this simplified method much better as it doesn't put a black command window up on the user's screen when it is polling.  Thanks!</description><pubDate>Fri, 18 May 2007 18:20:47 GMT</pubDate><dc:creator>joshg</dc:creator></item><item><title>RE: Function to add right click pollchannel</title><link>http://www.nbtnet.newboundary.com/forum/Topic1309-8-1.aspx</link><description>New Boundary Technical Support recommends the following, more simplified method (based on Raymond's previous post, which uses Sysinternals (now Microsoft) psexec.exe. Our method doesn't require pollchannel.cmd file.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Place psexec.exe in c:\Program Files\Prism Suite on administrator workstation.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Add the following line to the [SingleComputerApps] section of ExternalToolsconfig.ini on administrator workstation:&lt;/P&gt;&lt;P&gt;Poll Now="c:\Program Files\Prism Suite\Psexec.exe" &lt;A href="file://%25computername%25/"&gt;\\%computername%&lt;/A&gt; -i -n 5 "&amp;lt;local path to ptclient.exe on managed system&amp;gt;" /subscriber &lt;BR&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt; Poll="c:\Program Files\Prism Suite\Psexec.exe" &lt;A href="file://%25computername%25/"&gt;\\%computername%&lt;/A&gt; -i -n 5 "c:\Program Files\New Boundary\Client\ptclient.exe" /Subscriber&lt;BR&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; There are may other switches that can be used with psexec. Check the documentation on the link below.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Restart Prism Console on administrator workstation.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You can download psexec.exe (which is part of pstools) here: &lt;A href="http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx"&gt;http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx&lt;/A&gt;</description><pubDate>Wed, 09 May 2007 12:53:43 GMT</pubDate><dc:creator>New Boundary Support</dc:creator></item><item><title>RE: Function to add right click pollchannel</title><link>http://www.nbtnet.newboundary.com/forum/Topic1309-8-1.aspx</link><description>I think I am missing something here.  I have downloaded the psexec.exe file and specified it's location in the poll.vbs file.  I have specified the location of the poll.vbs file in the externaltoolsconfig.ini.  The "poll channel" command now shows up when I right click on a machine in the console.  If I right click a computer that is online and tell it to "poll channel" the command window pops up and then goes away, but the machine is not updated in the console.  Our default time interval for polling is 10 minutes by the way.&lt;/P&gt;&lt;P&gt;Where is the pollchannel.cmd file?  I have version 7 of the Prism Console and Win XP 64 bit. </description><pubDate>Tue, 08 May 2007 19:09:11 GMT</pubDate><dc:creator>joshg</dc:creator></item><item><title>RE: Function to add right click pollchannel</title><link>http://www.nbtnet.newboundary.com/forum/Topic1309-8-1.aspx</link><description>This is great stuff! Based on this thread and since we are not into vb-scripts, we have implemented it like this:&lt;P&gt;1) Put pollchannel.cmd on every client (by deploying a package).&lt;/P&gt;&lt;P&gt;2) Place psexec.exe in c:\Program Files\Prism Suite on administrator workstation.&lt;/P&gt;&lt;P&gt;3) Add the following line to the [SingleComputerApps] section of ExternalToolsconfig.ini on administrator workstation:&lt;/P&gt;&lt;P&gt;Poll="c:\Program Files\Prism Suite\Psexec.exe" &lt;A href="file://%25computername%25/"&gt;\\%computername%&lt;/A&gt; -i -n 5 "&amp;lt;local path to pollchannel.cmd on client&amp;gt;\pollchannel.cmd"&lt;/P&gt;&lt;P&gt;3) Restart Prism Console on administrator workstation.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;BR&gt;</description><pubDate>Thu, 19 Oct 2006 00:46:20 GMT</pubDate><dc:creator>Raymond</dc:creator></item><item><title>RE: Function to add right click pollchannel</title><link>http://www.nbtnet.newboundary.com/forum/Topic1309-8-1.aspx</link><description>Perfect! This is just what we need. Except I can't get it to work. I can make it work in a commandbox on my own workstation though. I guess extra "" are needed somewhere, but I can't figure out where. Help please?&lt;BR&gt;My own supplements to interesting tools:&lt;BR&gt;VNC="C:\Program Files\RealVNC\VNC4\vncviewer.exe" %computername%&lt;BR&gt;Open C-disk="c:\Program Files\Prism Suite\opendrive" %computername%&lt;BR&gt;PING=ping -t %computername%&lt;BR&gt;Poll Channel=cscript.exe //nologo //b "c:\Program Files\Prism Suite\poll.vbs" \\%computername%,""c:\Program Files\Prism Suite\poll""&lt;BR&gt;&lt;BR&gt;(RealVNC is a free remote control tool we use for all workstation and servers)&lt;BR&gt;Opendrive is just a batchfile ("start \\%1\c$"). I Don't know any easier way.&lt;BR&gt;&lt;BR&gt;Regards,&lt;BR&gt;Mario</description><pubDate>Tue, 13 Jun 2006 01:40:34 GMT</pubDate><dc:creator>pizza</dc:creator></item><item><title>Function to add right click pollchannel</title><link>http://www.nbtnet.newboundary.com/forum/Topic1309-8-1.aspx</link><description>&lt;FONT size=1&gt;Hi Everyone&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=1&gt;Another post with  a script based on the pollchannel.cmd file &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=1&gt;Janne&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;BR&gt;Save the script in folder Prism Suite\Tools\Poll&lt;BR&gt;Add the following line to ExternalToolsConfig.ini in the prism suite installation folder&lt;BR&gt;Poll Channel=cscript.exe //nologo //B  Poll.vbs &lt;A href='file://\\%computername%,"C:\program\prism'&gt;\\%computername%,"C:\program\prism&lt;/A&gt; Suite\tools\poll"&lt;/P&gt;&lt;P&gt;Restart the console to the read in the new settings then you can right click and make the computer poll the channel&lt;BR&gt;************************************&lt;BR&gt;'Script save as &lt;BR&gt;'copy below and save as poll.vbs&lt;BR&gt;'****************************************&lt;BR&gt;'Path to files used by the script&lt;BR&gt;'&lt;BR&gt;psexecfile = "C:\Script\Prism\psexec.exe"&lt;BR&gt;cmdfile = """C:\Program Files\Script\pollchannel.cmd"""&lt;/P&gt;&lt;P&gt;Set WShell = WScript.CreateObject("WSCript.shell")&lt;BR&gt;Set objArgs = WScript.Arguments&lt;BR&gt;run = WShell.run ( psexecfile &amp;amp; " " &amp;amp; objArgs(I) &amp;amp;  " -i -n 5 " &amp;amp; cmdfile)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt; </description><pubDate>Fri, 02 Jun 2006 04:56:54 GMT</pubDate><dc:creator>JanneC</dc:creator></item></channel></rss>