Been forever (like almost 10 years!!!), so I thought maybe I should post something. So here’s a little Powershell script for syncing all devices (by OS/type).
<#
πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§π©πͺπ¨π¦π§
Sync all Intune iPads
Iterate through all iPads and initiate sync
Version history:
1.0 - 2024-02-22 - Neil Nuttall - Initial verion
π©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨πͺπ©π§π¦π¨
#>
Import-Module Microsoft.Graph.DeviceManagement.Actions
Connect-Mggraph -scopes DeviceManagementManagedDevices.ReadWrite.All, DeviceManagementManagedDevices.PrivilegedOperations.All -NoWelcome
$alliPads = Get-MgDeviceManagementManagedDevice -all -Filter "OperatingSystem eq 'iOS'"| Where-Object {$_.Model -like "iPad*"}
$i=0
Foreach ($iPad in $alliPads) {
Sync-MgDeviceManagementManagedDevice -ManagedDeviceId $iPad.id
$i++
Write-Progress -Id 1 -Activity "Syncing iPads" -Status $iPad.DeviceName -PercentComplete ($i/$alliPads.Count*100)
}
Write-Progress -Id 1 -Completed
Write-Host "Sync requests sent for $i devices"

Posted by Neil Nuttall
A question not asked often enough in churches, be they big or small, is βWhat is church IT?β At first run, you may think that the answer is self evident. Most of us, though various work experiences, have a good handle on how IT looks in most corporate organisations, so we reasonably view it in the same context, just with the organisation being the church. While partly correct, we do ourselves, our church, and the ministry to which Jesus calls all of us, an injustice by limiting it to that context alone. In this series I will share my thoughts and experiences as to what church IT is.Β In sharing these thoughts I need to say that I donβt have all the answers myself .Hopefully these posts will spark discussion and you will find the best answer that suites your ministry and your church.


