Endpoint Manager

Using the Endpoint Manager at https://endpoint.microsoft.com/, a user with Global Administrator or Intune Administrator role can execute PowerShell scripts on an enrolled Windows device. The script runs with privileges of SYSTEM on the device. We do not get to see the script output and the script doesn't run again if there is no change. As per documentation, the script execution takes place every one hour but in my experience that is random.

1

All Devices

Go to Devices -> All Devices to check devices enrolled to Intune

2

Add Script

Go to Scripts and Click on Add for Windows 10.

n the Add PowerShell script, add a new script and name it x

On the Assignments page, include 'Add all users' and 'Add all devices'.

3

Wait

It will take up to one hour before you script is executed. We cannot see the output of the script execution.

Last updated