Run a PowerShell script in live on a device from a button as many times you want
On MECM there is a "Scripts" section (Picture 1).
This one allows use to run a PowerShell script in live from a context menu on a device (Picture 2), no need to schedule something or create a collection...
It could be really awesome and useful to have this on Intune.
For instance, when you go to a device, we can imagine a new button (Picture 3) "Run script" like other one Sync, Restart, Retire...
Once you click on it, you will be able to choose the PowerShell script previously created.
Then after the script is completed a report will be displayed.
No need to assign the script and be able to run it as many times you want.
Derek Gabriel commented
If you use Tenant Attach, the ability to run scripts on demand is in preview: https://docs.microsoft.com/en-us/mem/configmgr/tenant-attach/scripts
Really great idea that seems to be obviously missing... Defo votes from me!