powershell-intune-samples icon indicating copy to clipboard operation
powershell-intune-samples copied to clipboard

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.

Results 107 powershell-intune-samples issues
Sort by recently updated
recently updated
newest added

hi, on line 1300 file name "/mscep.dll" is missing `$CACaps = (Invoke-WebRequest -Uri "https://$hostname/certsrv/mscep?operation=GetCACaps&message=test").content` it should be: `$CACaps = (Invoke-WebRequest -Uri "https://$hostname/certsrv/mscep/mscep.dll?operation=GetCACaps&message=test").content`

Certificate Connector for Microsoft Intune - Service release 2107

DeviceConfiguration_Export.ps1 does not allow for individual policy export #198 This will now allow you to specify A for All or a named policy for export

There are times when I only want to export a single policy, currently I have to wait a few minutes for the script to process them all. It would be...

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 service name has been updated in script. Logs collection section still fails as New connector has no .log files and folders. Please help extract relevant eventID's using the...

Hello Dave, the script "AssociatedFilter_Get.ps1" is running until mobileapps. Then the script stops with the return message: Request to https://graph.microsoft.com/Beta/deviceAppManagement/mobileApps?$expand=assignments failed with HTTP Status 504 Gateway Timeout Response content: {"error":{"code":"UnknownError","message":"{\"Message\":\"{\\r\\n...

An update that will decrypt any windows10CustomConfiguration policies with a property named isEncrypted = true Ref : https://docs.microsoft.com/en-us/graph/api/intune-deviceconfig-deviceconfiguration-getomasettingplaintextvalue?view=graph-rest-1.0

Hi, I'm trying to export my MEM policy, unfortunately it doesn't export anything at all. What I'm doing wrong? when grants where asked for the first time I've flagged "consent...

Is there a possibility to create a new ENterprise application instead of using (Microsoft Intune powershell which is making by default to get all the permissions) with custom permissions and...