Battery - dell/EUCTechHub GitHub Wiki
Overview
Test Script for VMware Workspace ONE
ws1_sensor_battery_health_v1_0_0.ps1
Partnumber
Note: This example is for Latitude notebooks only
Determine the part number of a notebook battery.
Through WMI:
$PNWMI = Get-CimInstance -ClassName Win32_Battery | select -ExpandProperty Name
Write-Host $PNWMI.Substring(5,5)
PPID
Note: This example is for Latitude notebooks only and requires Dell Command Monitor
PPID (Piece Part Identification) numbers are affixed to specific Dell parts as a means to identify and or track individual components. Beside the part number it also contains that can be used for several scenarios.
Get-CimInstance -Namespace root\dcim\sysman -ClassName DCIM_Battery | select -ExpandProperty IdentifyingDescriptions
Author(s):
Mesut Kaptanoğlu