Forum Discussion

ManuelFranz's avatar
ManuelFranz
Copper Contributor
Jul 08, 2022
Solved

Sync compliance policy ad hock

Is there a way to trigger a sync of the compliance policy in windows devices via a PowerShell script?  I've been sitting on this issue for a while and can't find a way to solve it.

  • Hey ManuelFranz,

     

    can you try if this code will work for you:

     

        $syncIme = New-Object -ComObject Shell.Application
        $syncIme.open("intunemanagementextension://synccompliance")

     

5 Replies

Resources