Intune - Powershell script not pushed to Win10

Chned 51 Reputation points
2020-09-29T09:12:42.213+00:00

So I added a simple .ps1 script in Intune under Devices, Scripts. It is assigned to a Device-group.

28950-1.png

After deploying I can see that the status is showing as Succeeded.

29112-2.png

But the script is never executed on the clients. I read that it should be placed in C:\Program Files (x86)\Microsoft Intune Management Extension\Policies\Scripts, but it isn't appearing there.

I tested this script on the client itself and it is working properly (after executing set-executionpolicy remotesigned)

Does anyone know where to start troubleshooting from here?

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,787 questions
0 comments No comments
{count} votes

12 answers

Sort by: Most helpful
  1. Chned 51 Reputation points
    2020-10-22T15:07:18.2+00:00

    C:\Program Files (x86)\Microsoft Intune Management Extension\Policies\Results is completely empty.

    Yes, I am checking HKCU (see all of my screenshots above)

    No logging; what do you recommend?


  2. Chned 51 Reputation points
    2020-10-23T07:28:04.187+00:00

    All of a sudden it started to work (didn't change a thing!)

    Checked this for dozens of times the same way, so I am very sure that the error isn't at my side.

    I will check closely if it keeps working on the devices.

    0 comments No comments