Skip to content

Commit 332e371

Browse files
committed
Update Push-SchedulerCIPPNotifications.ps1
1 parent 1292262 commit 332e371

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Push-SchedulerCIPPNotifications.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ function Push-SchedulerCIPPNotifications {
2525
$PartitionKey = Get-Date -UFormat '%Y%m%d'
2626
$Filter = "PartitionKey eq '{0}'" -f $PartitionKey
2727
$Currentlog = Get-CIPPAzDataTableEntity @Table -Filter $Filter | Where-Object {
28-
$_.API -In $Settings -and $_.SentAsAlert -ne $true -and $_.Severity -In $severity
28+
$_.API -in $Settings -and $_.SentAsAlert -ne $true -and $_.Severity -in $severity
2929
}
3030
$StandardsTable = Get-CIPPTable -tablename CippStandardsAlerts
3131
$CurrentStandardsLogs = Get-CIPPAzDataTableEntity @StandardsTable -Filter $Filter | Where-Object {
32-
$_.SentAsAlert -ne $true
32+
$_.sentAsAlert -ne $true
3333
}
3434
Write-Information "Alerts: $($Currentlog.count) found"
3535
Write-Information "Standards: $($CurrentStandardsLogs.count) found"

0 commit comments

Comments
 (0)