Print

Many customers have requested the ability to report on things that are either not collected or not accurately collected by Intune. In an effort to fill these gaps in we have implemented a custom solution to collect some of the most commonly requested items. Currently this list includes:

  1. Software installed on Windows 10 devices.
  2. Software installation date.
  3. Monitors (LCD’s) connected to Windows 10 devices.
  4. Disk health.
  5. Last Reboot time.
  6. Additional CPU details.
  7. OS Install date.
  8. Additional RAM details.
  9. Battery health.
  10. Friendly model names for Lenovo computers.
  11. Warranty information for Dell, Lenovo, HP, and Getac computers.
  12. M365 update installation and compliance details.
  13. Windows driver inventory.

This data is collected via PowerShell, sent to a Log Analytics workspace, and then pulled into Power BI. Most customers leverage a Proactive Remediation detection to run the PowerShell script on a defined schedule. In this document we describe how to configure the script and deploy it using a Proactive Remediation however there are many ways that you might run a script on a schedule. 

Prerequisites: 

  1. Appropriate licenses to use remediation scripts in Intune.
  2. Dell requires an API token, which you can request by applying at https://techdirect.dell.com/Portal/APIs.aspx.
  3. Lenovo requires a client token. Unlike Dell, this process is less straightforward—you’ll need to contact your Lenovo account representative to request the token on your behalf.

  4. HP requires both an API key and a secret. Note that the secret expires frequently. During our testing, the HP API was often unreliable; however, their support team was responsive, and it’s encouraging to see HP making the API available to customers again. You can initiate access by contacting your HP representative or by signing up at https://developers.hp.com/.

You can copy the PowerShell script from our GitHub repository. 

github mark
Get the Script