Page 1 of 1 1
Topic Options
#93111 - 2003-10-24 04:17 AM WMI Questions
vic102482 Offline
Lurker

Registered: 2003-10-24
Posts: 1
What in the world is it? I have read many MS pages about it, and I know its a library of functions for windows and what not, but is the language cross platform compatible?

Meaning can I copy WMI code over from VBscript to say Kixtart without any modifications (WMI code of course not vbcode of course).

So is the WMI code code of its own, or does it differ from language to language. Additionally it shouldnt matter what language you are using if you are in WMI right? I am trying to learn kixtart because I find it a whole lot more simple than Perl and VBscript. Its not as powerful, but I dont need power, I need functionality.

Additionally will the Windows 2000 scripting guide be of any use to me if can just stick to WMI or should I buy a kixtart book? Does any WMI book fit the bill or are there WMI books for each language?

See these questions arent answered on anysite and I have spent days browsing. Someone please help me. I have the intro guide and I have read that, I can make scripts that poll information display this and play bond music:) but adding users to a domain or installing proggys on a remote machine while imitating certain elevated user rights require WMI. Thats why I am asking. Someone please help.

I have looked around to the best of my ability.

Top
#93112 - 2003-10-24 04:27 AM Re: WMI Questions
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
it is code of it own

it is accessed as a COM object, therefore Kix, VB, etc, an access it.

As it is a seperate item from kix, you aren't likely to find a singular book that defines both.

at kixhelp.com there is a link to a very well written kix guide

In the COM forum here are manu examples of kix code utilizing WMI

is there anything more specific I can address?? there are many scripters here that are primarilly programmers as well as others that are administrators looking into scripting to keep from having to walk around.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#93113 - 2003-10-25 01:49 AM Re: WMI Questions
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
Before you can do any WMI script, it is best to check that you client is enabled for WMI.

Windows XP and 2000 have WMI installed by default, any other OS will need the WMI client which can be download from the microsoft site.

Also have a look at KiXoMatic.

Top
#93114 - 2003-10-25 02:31 AM Re: WMI Questions
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Perhaps the best way is to learn by example, and there are plenty of examples here on korg.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#93115 - 2003-10-25 02:45 PM Re: WMI Questions
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Start with MSDN under http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_start_page.asp

WMI is not really "code of its own", it's more an interface to the internal system manage,ment components of Windows. Information can be exchages with the interface by way of the WQL query language or via e.g. direct COM calls as WMI is COMable.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.056 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org