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 guys, thank for the samples. they've been a great help. I can't find how to assign policies to a group for endpoint security and settings catalog policies in the...

I'm trying to automate Managed Google Play Apps deployment with this script and it doesn't work since this kind of apps deployment makes a POST request to Google and not...

I've been learning powershell and I'm responsible for creating packages across multiple tenants. I'm trying to leverage Upload-Win32Lob and I can't seem to get it working. Any assistance would be...

Hi! I have an old device that is still shown in Intune and cannot be deleted there. Deletion from AAD was possible before. When trying to **delete directly by Graph...

Test-Path : Cannot bind argument to parameter 'Path' because it is an empty string. At D:\Desktop\Endpoint\DeviceConfiguration_Import_FromJSON.ps1:312 char:21 + If (Test-Path -Path $FileName -Type Leaf) { + ~~~~~~~~~ + CategoryInfo :...

Good morning, I would like to request your help on how to update a LOB App created using the script **Application_LOB_Add.ps1**. Is it possible? Best regards

Added functions to the Application_LOB_Add.ps1 in order to include MSIX type LOB apps. Get-MSIXManifest retrieves the MSIX manifest from the bundled MSIX package in order to populate data about the...

hi @davefalkus, ms support advised me to ask here for support implementing the upload ipa file to intune graph api via java. I have tried to achieve the upload ipa...

I have reworked the "Application_LOB_Add.ps1" PS to include an option to encrypt and upload .Intunemac Files. The Application is created successfully when using the initial POST request, but when attempting...

Regarding the NDES URL test script. The top are of the script has a WMI error when ran with PowerShell 7: Validate-NDESUrl.ps1:116 Line | 116 | if ((Get-WmiObject -class Win32_OperatingSystem).ProductType...