This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell.
Updated Script to reflect new registry key name for the Intune Connector detection.
Disabled the Client Certificate check for the Intune connector as it is no longer present in the new connector (NDESPolicy Module errors).
Updated Script to reflect new registry key name for the Intune Connector detection. Disabled the Client Certificate check for the Intune connector as it is no longer present in the new connector (NDESPolicy Module errors).