
You can access this guide by clicking the link below: Create an SSRS Report using Configuration Manager Database Data. I know how to do in vbsīut I have some problems in C#. HOW TO QUERY A MAC ADDRESS IN SCCM HOW TO If you have any problems with any of the above, then please leave your comments and questions below using our comments system and we will try to get back to you as soon as we can. Problem is that MacAddress in colection sccm is written in string Array. Query = new ObjectQuery("selectSMS_R_System.MACAddresses from SMS_R_System where SMS_R_System.Name='" + STRCompName + "' and SMS_R_System.OperatingSystemNameandVersion like '%Workstation 5.1%'") MAC addresses are globally assigned to organisations by the Institute of Electrical and Electronics Engineers (IEEE). This lookup tool will query the IEEE database and present the assigned information in realtime. ManagementObjectCollection quer圜ollection = searcher.Get() įoreach (ManagementObject m in quer圜ollection) ManagementObjectSearcher searcher = new ManagementObjectSearcher(scope, query) It is possible to lookup by MAC address and see the assigned organisation or to lookup an organisation and see all the assigned MAC.

In vbs I get macadress from sccm simply m.MACAddress(0) how the same I should write in C# m MacAdd="MAC Address: " + m.ToString() īut in sccm MACAddress is string array type so I can not receive from sccm macaddress, program receive information "No data". To get the MAC address I usually Ping the Host computer which then puts the results into the ARP table. I then search the ARP table to get the IP address, host name and MAC Address.

Here is the code I use to search the ARP table. HOW TO QUERY A MAC ADDRESS IN SCCM HOW TO.
