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

When I attempt to run ManagedDevices_Get.ps1 I get the error listed in the title. Any suggestions would be appreciated!

Without option to export it is really difficult to use the scripts at the moment I use start-transcript ( https://lazyadmin.nl/powershell/start-transcript/) but not ideal

Hi, Is it possible to export the results from eg Application_MDM_Get.ps1 to a .csv? I can't seem to find the right command in the scripts.

https://github.com/microsoftgraph/powershell-intune-samples/blob/9d0dac47b1058584e1026119d4fd7f635eb446d5/AppProtectionPolicy/ManagedAppPolicy_Add_Assign.ps1#L286-L289 Should have URI for Android not iOS and `$graphAPIVersion` variable isn't used.

https://github.com/microsoftgraph/powershell-intune-samples/blob/5bf2e5bc59ae1ce1b2980299dbd98aca49b6bd92/LOB_Application/Application_LOB_Add.ps1#L331 The SAS Uri has an expiration time associated with it. If the file is sufficiently large you may go over the expiration time and receive an error such as:...

Ive tried a lot of stuff, but the functions are too unclear to me, i would have to re write the entire code to try to start to understand it....

Integrating Application_iOS_Add.ps1 into some automation scripts, I kept getting errors from the JSON being generated. I ended up making a few changes in order to get it to generate a...

Hi There, Recently I created a new baseline policy from the template Microsoft Edge Security Baseline Version 112, when I tried to download all endpoint security baseline policies, it did...

Hi, I'm not sure if it's the right place to mention it but today I had to install the latest certificate Connector (https://go.microsoft.com/fwlink/?linkid=2168535) after having issues with an older version...

Hi team, I already submitted a [pull request](https://github.com/microsoftgraph/powershell-intune-samples/pull/259) to change the checking for the old Intune Connector to the new Certificate connector, but my knowledge of the rest of the...