Page 1 of 1 1
Topic Options
#165962 - 2006-08-15 08:14 PM Dell Battery Recall
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
For those with Dell's there is a battery recall:

https://www.dellbatteryprogram.com/Default.aspx

If you're using SMS you can implement the following to report on batteries affected by the recall:

http://www.myitforum.com/forums/MOF_for_Dell_Battery_Model/m_139241/tm.htm

Top
#165963 - 2006-08-15 09:53 PM Re: Dell Battery Recall
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Thanks Chris.

I had one that had the base number, but according to the full number it was not part of the recall.

Top
#165964 - 2006-08-15 10:21 PM Re: Dell Battery Recall
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I have a bad battery.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#165965 - 2006-08-15 10:22 PM Re: Dell Battery Recall
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Code:

Break On
$strComputer = "wheelerc_lap"
$arrBattery = split(WMIQuery('name','Win32_PortableBattery',$strComputer),'|')

$arrbatcode = '1K055', '3K590', '59474', '6P922', 'C2603', 'C5339', 'C5340', 'C5446',
'C6269', 'C6270', 'D2961', 'D5555', 'D6024', 'D6025', 'F2100', 'F5132',
'GD785', 'H3191', 'JD616', 'JD617', 'KD494', 'M3006', 'RD857', 'TD349',
'U5867', 'U5882', 'W5915', 'X5308', 'X5329', 'X5332', 'X5333', 'X5875',
'X5877', 'Y1333', 'Y4500', 'Y5466'

For each $battery in $arrbattery
for each $item in $arrbatcode
if instr($battery ,$item)
? $battery
endif
next
Next



FUNCTION WMIQuery($what,$from,optional $computer,optional $where, optional $x)
dim $strQuery, $objEnumerator, $value
if not $computer $computer="@WKSTA" endif
$strQuery = "Select $what From $from"
if $where and $x $strQuery = $strQuery + " Where $where = '$x'" endif
$SystemSet = GetObject("winmgmts:{impersonationLevel=impersonate}!//$computer")
$objEnumerator = $SystemSet.ExecQuery($strQuery)
For Each $objInstance in $objEnumerator
If @Error = 0 and $objInstance <> ""
$=execute("$$value = $$objInstance.$what")
$WMIQuery="$value"+"|"+"$WMIQuery"
EndIf
Next
$WMIQuery=left($WMIQuery,len($WMIQuery)-1)
exit @error
ENDFUNCTION


Top
#165966 - 2006-08-15 10:29 PM Re: Dell Battery Recall
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
That will get you a base validation Rad, but it won't CONFIRM if it fits the recall or not.

Once you have a battery in the base lookup you then need to confirm with the FULL number on their website.

Your code might at least get you started - nice idea.

Top
#165967 - 2006-08-15 10:30 PM Re: Dell Battery Recall
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
it accomplishes the same as chris' sms code effectively
Top
#165968 - 2006-08-16 03:36 AM Re: Dell Battery Recall
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Thanks, Rad. I wanted to do a KiX version too, but didn't have the time.
Top
#165969 - 2006-08-16 03:49 AM Re: Dell Battery Recall
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
no prob dude, you did all the work. I just copied/pasted most of your SMS stuff
Top
#165970 - 2006-08-17 12:49 AM Re: Dell Battery Recall
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
Thanks for posting this Chris. I just purchased a Precision M90 laptop. I better check my battery models!!
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

Top
#165971 - 2006-08-22 06:23 PM Re: Dell Battery Recall
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
My Account Manager at DELL mailed me a list of Laptops and Batterys affected.

Good service!!

Top
#165972 - 2006-08-22 08:09 PM Re: Dell Battery Recall
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
The full list, or only the base numbers as listed on the Web?

If it's the full list I'd appreciate if you could mail me a copy.

Top
#165973 - 2006-08-22 11:12 PM Re: Dell Battery Recall
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Yeah, could you show a scanned list?
Top
#165974 - 2006-08-23 07:49 PM Re: Dell Battery Recall
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
Quote:

The full list, or only the base numbers as listed on the Web?

If it's the full list I'd appreciate if you could mail me a copy.




Only the laptops our company own!!

Top
#165975 - 2006-08-23 07:52 PM Re: Dell Battery Recall
pvds Offline
Hey THIS is FUN
*****

Registered: 2001-04-14
Posts: 201
Quote:

Yeah, could you show a scanned list?




its a excel sheet!

And I can mail it to you but only our affected Laptops are on it.

Top
#165976 - 2006-08-23 11:51 PM Re: Dell Battery Recall
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
I was affraid you would give an answer like this... I guess I will have to do the work myself
Top
#165977 - 2006-08-24 09:55 PM Re: Dell Battery Recall
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Apple also recalls 1.8 million notebook batteries
Top
#165978 - 2006-08-24 10:19 PM Re: Dell Battery Recall
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Well that doesn't hurt me one bit. No Apple laptops here.
Top
#165979 - 2006-08-24 11:51 PM Re: Dell Battery Recall
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
We do have one or two 10 year old apples, but they are not portable without unplugging the power cord.
Top
Page 1 of 1 1


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

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.398 seconds in which 0.032 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