stevenkan
Content Type
Profiles
Forums
Events
Posts posted by stevenkan
-
-
I am using a script at logon that pops up a message box if it matches the Serial number obtained through WMI against the known types in the list issued by Dell.
Steve
0
Dell Battery Replacement Script Help Required
in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Posted
It doesn't return the full serial number, but does get enough digits to match against the recall listing that Dell have published. I have tried it on known good and bad batteries that I have and it works fine for me.
As an extra, here is a list of the objects and some example outputs from the WMI PortableBattery class. The Name object has the 5 digits that need to be matched, else you could just match the manufacturer against Sony and then escalate up your support process as required. PS this was a good battery!
Availability:
BatteryStatus:
CapacityMultiplier: 10
Caption: Portable Battery
Chemistry: 2
ConfigManagerErrorCode:
ConfigManagerUserConfig:
CreationClassName: Win32_PortableBattery
Description: Portable Battery
DesignCapacity: 52170
DesignVoltage: 11100
DeviceID: Portable Battery 0
ErrorCleared:
ErrorDescription:
EstimatedChargeRemaining:
EstimatedRunTime:
ExpectedLife:
FullChargeCapacity:
LastErrorCode:
Location: Sys. Battery Bay
ManufactureDate:
Manufacturer: Panasonic
MaxBatteryError: 2
MaxRechargeTime:
Name: DELL 4M010 4
PNPDeviceID:
PowerManagementCapabilities:
PowerManagementSupported:
SmartBatteryVersion: 1.0
Status:
StatusInfo:
SystemCreationClassName: Win32_ComputerSystem
SystemName: PC2141
TimeOnBattery:
TimeToFullCharge: