Comprehensive, categorized, searchable collection of links to ASP & ASP.NET resources...
Our Directory

Applications
ASP.NET Directory
Books & Media
Community
Components
Other ASP Sites
Reference Material
Software & Server
Tutorials & Code
Web Site Hosts

Expand Directory...
Personlise Results...

Newsgroups

Participate in over
100 ASP & ASP.NET related newsgroups right here @ Fuzzy Software...

.NET Framework
- .net.faqs
- .net.framework
- .net.general
- .net.setup
- .net.scripting
- .net.xml

Web Services
- aspnet.webservices
- msdn.soaptoolkit
- msdn.webservices

SQL Server
- sqlserver.setup
- sqlserver.prog...
- sqlserver.tools

Classic ASP
- asp.db
- asp.general
- asp.components

Scripting
- scripting.jscript
- scripting.remote
- scripting.vbscript
- scripting.wsh

All newsgroups...

ASP Built-in
Objects Reference


Application Object
ObjectContext Object
Request Object
Response Object
Server Object
Session Object

Personalise Fuzzy
Make Homepage
Link To Fuzzy
Bookmark This Page

Add our directory to your site in less than
2 minutes...














Whats New!


From: lhouk (Leslie Houk)
Subject: NEWBIE: WMI remote job not displaying locally
Date: 11 Jun 2002 14:22:30 -0700

Please note that I'm not only just learning WMI, I'm also
just learning VBScript, so I apologize in advance for any
inanities that I might utter...

I have two .VBS files. The first is "hello.vbs", which
consists entirely of the following line:

WScript.Echo( "Hello World!" )

The second file, "hello2.vbs", consists of the following
lines:

Option Explicit
Dim System, wmiObject, Return, ProcID
Set wmiObject = GetObject("winmgmts:{impersonationLevel=impersonate}!" & _
"SystemName/root/CIMV2:Win32_Process")
Return = wmiObject.Create("cscript.exe d:\data\vbscript\hello.vbs", _
Null, Null, ProcID)
If Return <> 0 Then
WScript.Echo "wmiObject.Create failed - error code:" & Return
End If

where "SystemName" is the name of a remote Win2K PC. If
I understand how this is supposed to work, "hello.vbs" is
being run on "SystemName", and in fact, when I run
"hello2.vbs", I do not get the error message. However,
I also do not see the "Hello World!" message generated
by "hello.vbs". What am I doing wrong, or just not
understanding?
Post a follow up to this message...





InstantGallery.NET - ASP.NET Enabled Image Gallery

Receive all the latest quality ASP
& ASP.NET content direct to your inbox. Sign-up to our newsletter.




MyLittleWebTools

CShapeFriends.com

DevArticles.com

Ascenvia.net

Bipin Joshi

More partners...

Ektron web editor and content management software
  5813 ASP & ASP.NET resources in over 450 categories and growing daily...
Fuzzy Software - asp / asp.net resources, tutorials, code, scripts, applications, components, newsgroups, hosts and much more... Sitemap 0 1 4