Forum Discussion
ManuelFranz
Jul 08, 2022Copper Contributor
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.
- Jul 08, 2022
Hey ManuelFranz,
can you try if this code will work for you:
$syncIme = New-Object -ComObject Shell.Application $syncIme.open("intunemanagementextension://synccompliance")