hmm...  sounds like you've already figured out the point I thought it
would choke at (namely, running a remote script that inventories a
local machine) because of security issues, so I'll stop beating around
the bush.

I've done similar back and forth between ASP pages and command-line
.vbs scripts before and here's the method I used:

- Originating ASP page gathers data from user. In this case, the machine name.
- Originating ASP page submits gathered data to Secondary ASP page
- Secondary ASP page uses WSH[1] to run[2] the .vbs file, using the
gathered data.
- VBS file, after running, inserts it's findings into a temporary
database table.
- Secondary ASP page redirects to Results page
- Results page queries the database and displays the results.

That all sounds well and good, but there are a ton of gotchas in using
these methods, most of which are going to be specific to your network
setup...  but it can be done.  I'd advise you get a good WSH book and
look for examples.

hth'd,
Stephen

[1] http://devguru.com/Technologies/wsh/quickref/wsh_intro.html
[2] http://devguru.com/Technologies/wsh/quickref/wshshell_Run.html


On Mon, 26 Jul 2004 13:58:04 -0500, Hoenig, Robert
<[EMAIL PROTECTED]> wrote:
> Basically I'm building a hardware tracking intranet page.  You click on a
> button that will query the machine name you put in.  Then display the
> processes on the machine your querying.  I have all the machine names in a
> table.  The table is displayed on a web page so you click on the name of the
> machine you want and it gives more information about that machine (user
> logged on, os, ram, etc).  I would like to have a button you could click and
> get a listing of processes and then the ability to kill any of them.
> Currently I can do this I just have to put in the machine name each time.

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to