HighTechTalks DotNet Forums  

VB WMI Script

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss VB WMI Script in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
David J Duryea
 
Posts: n/a

Default VB WMI Script - 08-25-2004 , 09:56 PM






Hello All

I have a VB script that runs WMI to retrieve serial numbers of workstation
on the local network in which it runs and writes this to either an Access or
SQL Db.

Is there a way that i can add this wmi script in the codebehind page of my
web application to allow remote users across the internet the ability to
execute this over the internet to gather information on there lan via the
web page and write the obtained information to my database?

Im running .net framwork 1.1, windows 2k server with MS SQL 2k

Any help would be greatly appreciated.

Thank you,
Dave





Reply With Quote
  #2  
Old   
Jeremy Chapman
 
Posts: n/a

Default Re: VB WMI Script - 09-28-2004 , 12:02 PM






You can write WMI in .NET so it souldn't be to difficult to recreate your VB
script in VB.NET or other .NET language. The other thing you could do is
schedule your script to be run on a server nightly to populate your
database, the your web page can just query the database and it never needs
to know anything about wmi.

"David J Duryea" <dduryea (AT) inetmicro (DOT) com> wrote

Quote:
Hello All

I have a VB script that runs WMI to retrieve serial numbers of workstation
on the local network in which it runs and writes this to either an Access
or
SQL Db.

Is there a way that i can add this wmi script in the codebehind page of my
web application to allow remote users across the internet the ability to
execute this over the internet to gather information on there lan via the
web page and write the obtained information to my database?

Im running .net framwork 1.1, windows 2k server with MS SQL 2k

Any help would be greatly appreciated.

Thank you,
Dave







Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.