A script to force the sync of Intune MDM Policies on a Windows 10 Device during first logon
A script to bulk force update policies on all iOS and Android devices in your tenant
Read the comments in the script in order to use it sucessfully
Or the Blog article at Force Intune policy sync from a PowerShell script