Not Discovering MAC address nor Domain on Windows Servers

dthenderson
Kilo Contributor

I've been disabling WMI parameters in order to remove some of the routing CI's that get created, but I am no longer getting MAC address nor Domain for my Windows Servers?

I've been trying to re-enable some of the things that I've touched, but I don't seem to be having any success getting those to populate on the Windows form.

The fields are OOB os_domain and mac_address.

Anybody run into this problem?

1 ACCEPTED SOLUTION

Yep!! This is the reason ServiceNow stores Mac address in Network adapter table because a single device can have multiple MAC address. And the WMI path we have used only will pick the MAC addresses so we can not predict its physical or virtual.



You can use Powershell probe with that get-wmiobject command which you showed above in the thread. But you need to parse the result from the XML payload I feel that is complex and unnecessary. Instead, if you see the MAC address in the Network adapter table you can write a business rule based upon your condition you can copy the physical mac address into the server table mac_address field.



Regards,


Vivek



Based upon the impact hit like, helpful or correct.


View solution in original post

10 REPLIES 10

Yep!! This is the reason ServiceNow stores Mac address in Network adapter table because a single device can have multiple MAC address. And the WMI path we have used only will pick the MAC addresses so we can not predict its physical or virtual.



You can use Powershell probe with that get-wmiobject command which you showed above in the thread. But you need to parse the result from the XML payload I feel that is complex and unnecessary. Instead, if you see the MAC address in the Network adapter table you can write a business rule based upon your condition you can copy the physical mac address into the server table mac_address field.



Regards,


Vivek



Based upon the impact hit like, helpful or correct.