You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-Host"Processing $TenantFilter with $($RowIds.Count) row IDs. We're processing id $($RowIds[$i]) to $($RowIds[[Math]::Min($i+999,$RowIds.Count-1)])"
Write-Host"Processing $TenantFilter with $($RowIds.Count) row IDs. We're processing id $($RowIds[$i]) to $($RowIds[[Math]::Min($i+499,$RowIds.Count-1)])"
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Standards/Get-CIPPStandards.ps1
+101-6Lines changed: 101 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -415,11 +415,107 @@ function Get-CIPPStandards {
415
415
}
416
416
Write-Host"We're removing Intune templates as the correct license is not present for this standard. We do this to not run unneeded cycles. If you're reading this don't touch."
#After the license check we're now going to do a compare for the remaining standards.
419
-
#This compare works by bulk requesting the top=1 entries for intune policies inside of the tenant.
420
-
#if the 'lastModified' timestamp is the same we skip processing this standard too, there's no need because the tenant hasn't changed anything.
421
-
#However, we also check the timestamp of our standardTemplate, if that is newer than the cached lastModified timestamp we also process the standard again, because the template has changed.
422
-
#If our cache for this tenant is blank, we also process the standard.
0 commit comments