Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running VBScripts from server on a website.

Status
Not open for further replies.

gerald

Programmer
Apr 10, 2000
152
US
Ok, I got the IIS Resource Kit with all of the VBScripts for automating administration of IIS, but I am still kinda newbie to this whole thing. <br><br>I know that I have seen that it is possible to run VBScript via the web, but in doing this is it running on the client side or on the server side?<br><br>Basically I want to create a webpage where I can use these administration scripts without having to use PCAnywhere, because PCAnywhere is hideously time consuming on our DSL connection here. <br><br>I know that I can probably find out all of this if I get into a good ASP or VBScript book, which I am planning on doing now, but I would like to find out as quickly as I can if what I want to do is possible with these VBScripts or if I am going to have to start from scratch using some other method. IIS Resource Kit only tells you how to run them from the command line.<br><br>Thanks for any help you can give me.<br><br><br>Gerald<br>
 
Gerald,<br>&nbsp;&nbsp;&nbsp;VBScript can be run in four ways: <br>1) In an ASP page, which executes on the server<br>2) In a client-side script, inside Internet Explorer<br>3) In the windows environment, like a windows batch file<br>4) In a DOS/NT command window (&quot;DOS box&quot;)<br><br>Additionally,&nbsp;&nbsp;for the non-internet types of scripts, they can be run using WScript or CScript as the &quot;host&quot;.&nbsp;&nbsp;Most of the administrative scripts that come with the IIS resource kit are meant to run using CScript.&nbsp;&nbsp;<br><br>There's a readme file in the IIS kit (actually it may be an HTML page) that explains how to use these scripts.&nbsp;&nbsp;I don't have an IIS server here to check, so I can't give you the exact file name.<br><br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Thanks for your input...<br>I have read the readme file on the CD, and it explains how to use them with WScript and CSript...<br><br>So my question now is, can this be executed from a web page, like an ASP call of some kind, or can it only be run from the machine or PCAnywhere?<br><br>My goal here ultimately, is to eliminate the need to access the system locally or with PCAnywhere, and tie everything into our website, which already handles all the setup required for virtual hosting automatically on our Apache servers.<br><br>I am obviously not that well versed in NT or IIS, I was recruited here because of my Linux knowledge, but now I also find myself with the task of administering some IIS servers as well. And it seems to be a tremendous waste of time to spend 3-4 hours a day manually setting up hosting accounts on these IIS servers, when the same tasks can be done in a matter of seconds on Apache using some basic Perl scripts.<br><br>Any guidance that I can get would be greatly appreciated. And I will owe you a couple of beers. Heh.<br><br>Thanks,<br><br>Gerald
 
Gerald,<br>&nbsp;&nbsp;&nbsp;There's not much I wouldn't do for a few beers! :cool:<br>Although I've never tried it, I don't see any reason you couldn't do this through a web page.&nbsp;&nbsp;The primary concern here is security.&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;On the other hand, if you set up a telnet server,&nbsp;&nbsp;you could log in from anywhere and invoke a script.<br><br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Thanks again for your help! :)<br><br>I seem to be on the right track here. I now have a good portion of what I need automated going smoothly now. I can create a user, create a folder, create a web service and an FTP service with mostly the correct properties.<br><br>What would really be awesome right now is some sort of reference for the IISAO objects. I have bought a few books on ASP and ADSI but they only go into a few small examples and dont really go into all of the capabilities of IISAO.<br><br>Specifically what I am in need of at the moment is a complete list of properties and methods for the IIsWebServer and IIsWebVirtualDir objects.<br><br><br>And also any good pointers on how I could automate configuring of FrontPage Server Extensions would be very welcome.<br><br>Hehe, if you can help me here, its all you can drink!!<br><br>I have been able to eliminate a good hour of work per day by using my new toys :)If I get these last couple of things out of the way I might actually be able to take lunch one of these days. Vacation... well... dont think theres much hope there... hehe<br><br>Anyways, thanks for any light you can shine my way... ;-)<br><br>Gerald<br><br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top