K1000 Custom Inventory Rule
In my environment I have some smaller clinics that have the Kace agent on them. These machines are not managed by me, but do have the Kace agent for inventory/auditing purposes.
Since I really do not know what all is in these clinics a solution we came up with was to mark the machines using a custom inventory rule to identify them. For PCs I provide a reg key that those clinic techs include in their image. For the Macs I have a plist file. I then take that data and generate reports that are sent to those techs monthly so they know what's on their machines. Both the reg and the plist include the same four digit number for both, and I reference that in the report.
RegistryValueReturn(HKEY_LOCAL_MACHINE\SYSTEM\Department, Dept, TEXT)
PlistValueReturn(/Library/Application Support/Dell/KACE/department-info.plist, Department, TEXT)
Since Kace now supports more flavors of Linux I was asked how to go about marking those Linux machines with a department ID. I'm looking for something I can include this same four digit number on Linux machines to add to these reports. I'm thinking of using FileInfoReturn(), but not sure if this is the best option?