﻿<?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 </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>Wed, 09 Jul 2008 07:31:35 GMT</lastBuildDate><ttl>20</ttl><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><item><title>Function to let user poll channel</title><link>http://www.nbtnet.newboundary.com/forum/Topic1308-8-1.aspx</link><description>Hi everyone &lt;/P&gt;&lt;P&gt;Just wanted to share a few things we use with Prism deploy to make things a bit easier at our helpdesk.&lt;/P&gt;&lt;P&gt;First is a small cmd file i've created some other scripts that uses this one.&lt;BR&gt;Build an package with an cmd file containing the following putting it somewhere like C:\program files\script with a shortcut to users start menu. When you have a support call you can then tell the user to click the shortcut and the users machine will poll the channel.&lt;/P&gt;&lt;P&gt;//Janne&lt;/P&gt;&lt;P&gt;:Copy text below save as pollchannel.cmd&lt;BR&gt;:Function to poll channel&lt;BR&gt;:&lt;BR&gt;if  exist  ""C:\Program files\Prism Deploy\Client\ptclient.exe""  goto  PD_6&lt;BR&gt;if  exist  ""C:\Program files\New Boundary\Client\ptclient.exe""  goto  PD_7&lt;BR&gt;goto end&lt;BR&gt;&lt;img align="absmiddle" src="http://www.nbtnet.newboundary.com/forum/Skins/Classic/Images/EmotIcons/Tongue.gif" border="0" title="Tongue"&gt;D_6&lt;BR&gt;"C:\Program files\Prism Deploy\Client\ptclient.exe" /subscriber&lt;BR&gt;&lt;img align="absmiddle" src="http://www.nbtnet.newboundary.com/forum/Skins/Classic/Images/EmotIcons/Tongue.gif" border="0" title="Tongue"&gt;D_7&lt;BR&gt;"C:\Program files\New Boundary\Client\ptclient.exe"  /subscriber&lt;BR&gt;:END&lt;BR&gt;EXIT&lt;BR&gt;::&lt;/P&gt;&lt;P&gt;&lt;BR&gt; </description><pubDate>Fri, 02 Jun 2006 03:56:08 GMT</pubDate><dc:creator>JanneC</dc:creator></item><item><title>Script to do on demand polling</title><link>http://www.nbtnet.newboundary.com/forum/Topic1310-8-1.aspx</link><description>Hi again &lt;/P&gt;&lt;P&gt;here is another handy script if you have long polling time set on the channel and quickly want computers to poll the channel.&lt;/P&gt;&lt;P&gt;//Janne&lt;/P&gt;&lt;P&gt;'Author Janne Carlsson &lt;BR&gt;'Simple script to make a range of computers poll their channel&lt;BR&gt;'You need admin status on the remote computers. &lt;BR&gt;'In prism console do a computer status report and sort on example attended and export to excel&lt;BR&gt;'use the function Auto filter on for example the colum client status to get the machine attended copy the list of computernames to an txt file&lt;BR&gt;'save it as computers.ini in folder "C:\Script\Prism"&lt;BR&gt;'&lt;BR&gt;'Cmdfile the file that executes on remote computer&lt;BR&gt;'inifile the file that contains computernames to do the poll&lt;BR&gt;'psexecfile the location of psexec &lt;BR&gt;'&lt;BR&gt;'The script uses psexec from pstools by &lt;A href="http://www.systeminternals.com/"&gt;http://www.systeminternals.com/&lt;/A&gt;&lt;BR&gt;'Script start&lt;BR&gt;'Path to files used by the script&lt;BR&gt;psexecfile = "C:\Script\Prism\psexec.exe"&lt;BR&gt;cmdfile = """C:\Program Files\Script\pollchannel.cmd"""&lt;BR&gt;inifile = "C:\Script\Prism\computers.ini"&lt;BR&gt;'&lt;BR&gt;'random function so that not overload the server&lt;BR&gt;intMax = 1 'seconds&lt;BR&gt;intMin = 5 'seconds&lt;BR&gt;Randomize&lt;BR&gt;intWait = Int((intMax - intMin + 1) * Rnd + intMin)&lt;BR&gt;'&lt;BR&gt;Set WshShell = WScript.CreateObject("WScript.Shell")&lt;BR&gt;Set objFS=CreateObject ("Scripting.FileSystemObject")&lt;BR&gt;set listFile = objFS.OpenTextFile (inifile)&lt;/P&gt;&lt;P&gt;do while listFile.AtEndOfStream &amp;lt;&amp;gt; True &lt;BR&gt; computer1 = (listFile.ReadLine)&lt;BR&gt; run = WshShell.run ( psexecfile &amp;amp; " " &amp;amp;  "\\" &amp;amp; computer1 &amp;amp;  " -i -n 5 " &amp;amp; cmdfile)&lt;BR&gt; 'WScript.Echo( psexecfile &amp;amp; " " &amp;amp;  "\\" &amp;amp; computer1 &amp;amp;  " -i -n 5 " &amp;amp; cmdfile)&lt;BR&gt;'Wait abit &lt;BR&gt; WScript.Sleep intWait * 1000&lt;BR&gt;Loop&lt;/P&gt;&lt;P&gt;wscript.echo "Finished"</description><pubDate>Fri, 02 Jun 2006 06:06:47 GMT</pubDate><dc:creator>JanneC</dc:creator></item><item><title>PD - Reporting Question</title><link>http://www.nbtnet.newboundary.com/forum/Topic905-8-1.aspx</link><description>In PD ver6., when reporting on configuration groups, can I add the Logged on user field to the report ?</description><pubDate>Mon, 02 May 2005 10:03:00 GMT</pubDate><dc:creator>DavidM</dc:creator></item><item><title>Cleanup Task, Deployment Reports, Summary page</title><link>http://www.nbtnet.newboundary.com/forum/Topic727-8-1.aspx</link><description>&lt;P&gt;I have a lot of old machines in a tasks summary page view from Deployment Reports.&lt;/P&gt;&lt;P&gt;These machines are old test or pilot machines that are no longer in the domain.&lt;/P&gt;&lt;P&gt;Can I clean this up? Delete the pc's that are no longer on the domain? This way I get an accurate count of who has a task installed&lt;/P&gt;&lt;P&gt;Thanks for all of your hard work. It allows me to not have to work as hard!&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description><pubDate>Fri, 29 Oct 2004 09:37:00 GMT</pubDate><dc:creator>Mike W.</dc:creator></item><item><title>Installing Security Patches...</title><link>http://www.nbtnet.newboundary.com/forum/Topic250-8-1.aspx</link><description>Hi folks. &lt;P&gt;what is the common procedure when installing patches from microsoft? &lt;P&gt;Do you make configuration group and check for the patch or? And how do you deploy it? &lt;P&gt;Thanks in advanced.&lt;BR&gt;-j &lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:07:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>Prism SIFs as Custom Action in MSI files</title><link>http://www.nbtnet.newboundary.com/forum/Topic255-8-1.aspx</link><description>There have been a few times lately that I have been completely unsuccessful in creating an MSI that works and that I can deploy via Win2k AD GPO. I've tried both Prism Deploy and InstallShield Admin Studio without any luck. As a work around I used Prism Deploy and just saved it as a self installing EXE - which works beautifully. I then created a basic MSI in InstallShield Developer. Add a feature, add a component and create a custom action to run the created EXE, deferred in system context if necessary, after the install initialization sequence and stored in a binary table. Works great! &lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:09:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>Console Error Messages</title><link>http://www.nbtnet.newboundary.com/forum/Topic248-8-1.aspx</link><description>Is that possible in a script (prism script) to force an error number in prism deploy console (for exemple 1600 if a file is missing). &lt;P&gt;Exemple : &lt;P&gt;if not exists c:\test.txt&lt;BR&gt;=&amp;gt; ?? to have an alert in the console&lt;BR&gt;else&lt;BR&gt;=&amp;gt; apply a package&lt;BR&gt;endif &lt;P&gt;if I do nothing, the console message is "installed", even if the file is missing. I would like to know, in the console, the result of my test in the script.&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:06:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>Requirements for a package</title><link>http://www.nbtnet.newboundary.com/forum/Topic244-8-1.aspx</link><description>Hello Support,&lt;BR&gt;I know the possibility to set some requirements in a package.(size harddisk, type OS) &lt;P&gt;But, is it also possible to set a variable requirement. For example, you like to distribute a package with a upgrade for a specified videocard brand XXX. &lt;P&gt;It would be nice to distribute this package to everybody, and the package will only be installed on the pc's with this specified videocard. &lt;P&gt;Maybe there is a possibility to look for a registry-key on the client-pc before installing. (a specific key that only the client has with videocard XXX) &lt;P&gt;Is this possible in the standard way, or do you have to make a script? &lt;P&gt;And how? &lt;P&gt;With regards,&lt;BR&gt;Sup&lt;BR&gt;&lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:04:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>Rename Prism Deploy Tasks</title><link>http://www.nbtnet.newboundary.com/forum/Topic241-8-1.aspx</link><description>How can we rename a task in the Prism Deploy Console? &lt;P&gt;How can we move the task database from one server to another? We want to use a new Prism Server. &lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:02:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>Prism Deploy requirements</title><link>http://www.nbtnet.newboundary.com/forum/Topic238-8-1.aspx</link><description>I would like to know how to base the installation of a package on whether a specific file exists on the target system. (i.e. the application file I am trying to install) &lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:01:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>Prism Deploy Client tray icon</title><link>http://www.nbtnet.newboundary.com/forum/Topic236-8-1.aspx</link><description>Is there a way to install the Prism Deploy Client and hide the tray icon? &lt;P&gt;Thanks. &lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:00:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>Weighted Installation Packages or Commands</title><link>http://www.nbtnet.newboundary.com/forum/Topic234-8-1.aspx</link><description>Is their any way to make packages/commands weighted. What I am trying to do is create a series of packages or commands for certain OS's and I want them to install in a specific order. Some of the installs require reboot before they are complete but I don't want other installs to start until the reboot process has completed. &lt;P&gt;Ideas? &lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 16:00:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>All Users/Favorites</title><link>http://www.nbtnet.newboundary.com/forum/Topic232-8-1.aspx</link><description>What is the correct formula to have a pt file plop down a favorite in the all users profile so that when you look at favorites in IE or explorer and it's actually there?&lt;IMG src="http://www2.lanovation.com/dcforum/Images/wink.gif"&gt; I have tried to hard code it as well as using a variable for allusersprofile to get it to happen. The shortcut gets placed in the directory structure but the apps don't see it. &lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 15:59:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>When starting scripts</title><link>http://www.nbtnet.newboundary.com/forum/Topic230-8-1.aspx</link><description>Is it possible to suppress the "Are you sure you want to play script..." message?</description><pubDate>Mon, 12 Jan 2004 15:58:00 GMT</pubDate><dc:creator>Guest</dc:creator></item><item><title>Hardware Address of LAN card</title><link>http://www.nbtnet.newboundary.com/forum/Topic228-8-1.aspx</link><description>Is there a way to get the Hardware Address of a LAN card into a variable or text file? The only way I can think of is by doing a "ipconfig /all &amp;gt; info.txt" command. &lt;P&gt;(Windows 2000/XP). &lt;P&gt;&lt;/P&gt;</description><pubDate>Mon, 12 Jan 2004 15:56:00 GMT</pubDate><dc:creator>Guest</dc:creator></item></channel></rss>