Here is the MOF edit for DataShift – Local found on the SMS Expert Site https://www.smsexpert.com/MOF/Scripts.aspx

DataShift –Local will return a list of who is within the Local Administrator group.

 

#pragma namespace(“\\\\.\\root\\cimv2\\SMS”)

#pragma deleteclass(“SMX_LocalAdmins”,NOFAIL)

 

[SMS_Report(TRUE), SMS_Group_Name(“Local Administrators”), SMS_Class_ID(“MICROSOFT|SMXLocalAdmins|1.0”)]

 

class SMX_LocalAdmins : SMS_Class_Template

{

[SMS_Report(TRUE),Key]   String Account;

};