
Here you can check how to Create SCCM dynamic device Collection for Visual Studio Upgrade using a WQL query. We have many posts that explain the WQL queries and dynamic collections. There are seventeen ( 17) default or out-of-box WQL queries available in the Configuration Manager console itself. The name that populates your shell is the Host Name of your machine and is what we use in the Active Directory to find your computer. From the Command Prompt shell type in ' hostname ' and press enter. Open Command Prompt (Start Menu Lookup ' Command Prompt '). There is a common practice that we have seen within many organizations that the C Type (or USB) network adapter is used for OS deployment scenarios and PXE/Unknow computer scenarios. Finding a Host Name on a Windows based PC: 1. Here you can also check how to Fix SCCM PXE issues with C Type Network adapter and Duplicate MACIDs. Finding the devices with a mac address helps you resolve the issue and perform the deployment without wasting much time. You might have experienced the different scenarios where the device has the PXE boot issue with SCCM, which could be due to multiple MAC for the devices. You can create and run queries to locate devices in a Configuration Manager hierarchy that match your query criteria.

It will be great if any one could help me out in generating JS code using emscripten or can suggest me any other route to get the above mentioned machine details using an interanet application.Let’s find the easiest method to create SCCM Query to find device from MAC Address.

Since the above details I am looking for is web user details, so I was looking into emscripten which can generate javascript from C++ code to be executed in the browser context and could get me details, but after trying a lot I was not able to generate the javascript code from my C++ code (I am not sure why it fails when using emcc command using emscripten compiler to generate js code, it fails in finding atlbase.h) Now after google declared not to allow NPAPI later this year will create problem. This Native Code was available to all the browsers (Chrome, Firefox, IE till 10). I am stuck up with an issue in which I have to find machine details ( OS version, OS architecture, OS Role host name, SCCM Site code, SCCM Version, IP address, MAC address).Įarlier I was doing it using activex Object in which I was deploying a dll (prepared using C++ code and using firebreath to generate the dll from ocx compiled file of C++) on client browser context using activex.
