EPM
GetMachineData or GetMachineDataEx
This article explains how to use the EPM API to retrieve GUIDs and additional information for devices using the ListMachine, GetMachineData, and GetMachineDataEx functions. It includes example scripts and screenshots for better understanding.