Forum Discussion

Dr_Snooze's avatar
Dr_Snooze
Brass Contributor
May 10, 2023

Is it really impossible to force an Intune sync from the command line?

Is it really not possible to force an Intune sync on a client computer from the command line? It seems like such a simple thing to do. Rather than make me dig 3 subpages deep to click a button, just let me fire off a DOS command and get on with my day.

 

I'm familiar with the https://timmyit.com/2019/06/04/intune-invoke-sync-to-all-devices-in-intune-with-the-intune-powershell-sdk/, but honestly, clicking a "Sync" button should never be as complicated as that.

 

I'm also familiar with Michael Neihaus' method...

 

 

Get-ScheduledTask | ? {$_.TaskName -eq 'PushLaunch'} | Start-ScheduledTask

 

 

That has never worked, but don't tell anyone because there are a lot of admins out there who think it does, and I'd hate to spoil their day. 

 

Am I just too dim to figure this out or is there really no way to sync from a CLI?

 

Thanks,

19 Replies