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")
Jannik_Reinhard
Jul 08, 2022Iron Contributor
Hey ManuelFranz,
can you try if this code will work for you:
$syncIme = New-Object -ComObject Shell.Application
$syncIme.open("intunemanagementextension://synccompliance")
ManuelFranz
Jul 08, 2022Copper Contributor
Jannik_Reinhard Thank you for the very fast support. This helps me to continue.