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
"Description": "In this repo, you will find Intune profiles in JSON format, which can be used in setting up your Modern Workplace. All policies were created in Microsoft Intune and exported to share with the community.",
$PendingQueries=Get-CIPPAzDataTableEntity@AuditLogSearchesTable-Filter "Tenant eq '$TenantFilter' and (CippStatus eq 'Pending' or (CippStatus eq 'Processing' and Timestamp le datetime'$15MinutesAgo')) and Timestamp ge datetime'$1DayAgo'"|Sort-Object Timestamp
20
+
$PendingQueries=Get-CIPPAzDataTableEntity@AuditLogSearchesTable-Filter "PartitionKey eq 'Search' and Tenant eq '$TenantFilter' and (CippStatus eq 'Pending' or (CippStatus eq 'Processing' and Timestamp le datetime'$15MinutesAgo')) and Timestamp ge datetime'$1DayAgo'"|Sort-Object Timestamp
$CippQueueData=Get-CIPPAzDataTableEntity@CippQueue-Filter "PartitionKey eq 'CippQueue' and Timestamp ge datetime'$3HoursAgo'"|Sort-Object-Property Timestamp -Descending
21
+
22
+
if ($QueueId) {
23
+
$Filter="PartitionKey eq 'CippQueue' and RowKey eq '$QueueId'"
24
+
} elseif ($Reference) {
25
+
$Filter="PartitionKey eq 'CippQueue' and Reference eq '$Reference' and Timestamp ge datetime'$3HoursAgo'"
26
+
} else {
27
+
$Filter="PartitionKey eq 'CippQueue' and Timestamp ge datetime'$3HoursAgo'"
0 commit comments