Scope-IT / marksman

Windows agent for Snipe-IT asset management system
Apache License 2.0
132 stars 23 forks source link

MAC Address Not Populating #16

Open emike09 opened 5 years ago

emike09 commented 5 years ago

When using either the MSI, or compiling from source, the MAC address on our Dell, Lenovo, and HP laptops are not being populated during new asset creation. While looking at the code, I noticed line 129: customFields.Add("_snipeit_macaddress_1", macAddress); Is this trying to create a custom field instead of using the build in Asset with MAC Address?

Steps to recreate: Install Marksman 1.01 MSI Modify config file to connect to Snipe-IT Run marksman.exe. Verify new entry in Snipe-IT, without a MAC Address

I'm running the agent on a Latitude 7480 as my test machine.

hdrkhls commented 5 years ago

@danielhogg hi daniel i don't get mac address on my agent, that's bug ?

this list what i get from agent