Page 1 of 1 1
Topic Options
#124713 - 2004-08-10 07:49 PM WMI Slots Ports
@lejo @rias Offline
Starting to like KiXtart

Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
Hi, I need check what kind of device card are plug in the slots ports ISA in my pc's win95 of LAN.

I made this script but dont work.

$objWMIService = GetObject( "winmgmts://./root/cimv2" )
$colItems = $objWMIService.ExecQuery( "Select * from Win32_SystemSlot", , 48 )

For Each $objItem In $colItems
CLS
? "Tag: " + $objItem.Tag
? "ConnectorType: " + $objItem.ConnectorType
? "CurrentUsage: " + $objItem.CurrentUsage
? "Manufacturer: " + $objItem.Manufacturer
? "Model: " + $objItem.Model
? "PartNumber: " + $objItem.PartNumber

Get $xx

Next

Tks 4 ur hlp.
_________________________
Look always 4 the best...

Top
#124714 - 2004-08-10 07:56 PM Re: WMI Slots Ports
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Make sure your client has WMI installed, if not, download it and install it. Then test your code again.

May want to move the Get $xx
past the NEXT command as well.

Top
#124715 - 2004-08-10 09:01 PM Re: WMI Slots Ports
@lejo @rias Offline
Starting to like KiXtart

Registered: 2003-09-02
Posts: 100
Loc: Medellin, Colombia
I install WMI Core Components,
I put "get $x" for stop each slot and see info.

Someone know the exact class? or object?
_________________________
Look always 4 the best...

Top
Page 1 of 1 1


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

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.054 seconds in which 0.028 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