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

Added an elseif to include the detection for the updated Certificate connector for Microsoft Intune and added a warning when the older Microsoft Intune Connector is detected.

I've add 14 and 15 version for support IOS 14 and 15 else we have an error when we execute this script.

Looking at the filtering that is being done with the switches and lines 198, 204 make sense with the switches but line 210 seems wrong as it is looking for...

Hi, i write again with other issue in this version powershell 7 and Windows 11 (Authorization Access Token is null, please re-run authentication...) In version PSVersion 5.1.22000.832 i have not...

Hi, i have problem with export Administrative Templates and Settings catalog and also values OMA-URI-Settings values with powershell script

When configuration profiles are exported via script DeviceConfiguration_Export.ps1, all profiles are exported except Administrative templates.

Hi, i have problem with RBAC_ScopeTags_ApplicationAssign with more scope tags. I need create more tags for application and not only one. This is correct ```-id $id -Type "#microsoft.graph.win32LobApp" -ScopeTags "2"...

I have the below code to upload a Win32 file `import-module C:\Scripts\powershell-intune-samples-master\LOB_Application\Win32_Application_Add.ps1 -Force $SourceFile = "C:\Scripts\Intune Packaging\Packages\Printers\PrinterInstall.intunewin" $RegistryRule = New-DetectionRule -Registry -RegistryKeyPath "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\BL-NS-GRN-GRN-FL1-P01" -RegistryDetectionType exists -check32BitRegOn64System False $ReturnCodes = Get-DefaultReturnCodes...

Instead of 150+ lines of code for custom upload functions from the sample script, I'm trying to use the native Powershell cmdlets provided by the Az.Storage module for uploading the...