This post has been republished via RSS; it originally appeared at: Device Management in Microsoft articles.
ConfigMgr admins love extending hardware inventory and collecting data from Windows devices.
Did you know Intune can do the same?!
The answer is Intune PowerShell scripts! Also known as SideCar… IME… Intune Management Extensions…
Well, IME is just another channel that runs parallel to MDM that sort of acts like the ConfigMgr client. We deliver different features over this channel: PowerShell scripts, Win32 apps, Proactive Remediation scripts, Win32 app log collection…
Can you give us an example?
Maybe you are interested to know more about Win32_BIOS.
Run the following PowerShell one-liner on a device
Script outputs the following:
Let’s create an Intune PowerShell script and deploy it to some users/devices to demonstrate Win32_BIOS data as an example.
Tip: <scriptId> is stored in the URL
You can access the data via the following Graph endpoint in graph explorer
It turns out that we store the above-mentioned script output in a property on the service side. If you are familiar with Graph Explorer, then you can take a look at the results
In the property “resultMessage”:
How do I see the data from all devices?
Install-Module -Name Microsoft.Graph.Intune
You need one more script to retrieve your results from Graph…
You can store the data in Log Analytics, SQL etc and visualize the way you want.