Open sudomoke opened 2 years ago
You can also recover the uploaded PowerShell script from the Graph API.
Install-Module -Name Microsoft.Graph.Intune
Get-DeviceManagementScripts -FolderPath C:\IntuneScripts
It is also cached locally on the device during deployment/running.
I am not sure how intune handles the storage of the powershell files, but is it not a security issue to provide a client id and secret in clear text in a powershell script being downloaded and run on end-user devices?