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
{{ message }}
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
In Get-MCASAlert.ps1 on lines 198 and 199 certain filters will never work. For instance the value of the resolution status of "Open" is 0, therefore the line:
Will always evaluate to false and not add the filter to the filter set since 0 matches as $false in PowerShell. As such it is impossible to query for Open cases.
The text was updated successfully, but these errors were encountered:
In Get-MCASAlert.ps1 on lines 198 and 199 certain filters will never work. For instance the value of the resolution status of "Open" is 0, therefore the line:
if ($ResolutionStatus) {$filterSet += @{'resolutionStatus'= @{'eq'=([int[]]($ResolutionStatus | ForEach-Object {$_ -as [int]}))}}}
Will always evaluate to false and not add the filter to the filter set since 0 matches as $false in PowerShell. As such it is impossible to query for Open cases.
The text was updated successfully, but these errors were encountered: