Did you ever have to create a new registry key or modify that one configuration file with Intune? PowerShell is here to help! But how to make use of PowerShell with Intune and what are the pitfalls? How to return that error or success code? How can you run a script every day? We will take a look on the mechanisms used to deploy a PowerShell script with Intune and how you can monitor it´s state.
source