Hello,
The folllowing PowerShell command returns alerts which werenot resolved within 30 seconds:
Get-SCOMAlert | Where-Object {(($_.ResolutionState -ne 255) -or (($_.TimeResolved - $_.TimeRaised).Seconds -ge 30))}
How can I convert this using the Get-SCOMAlert’s much more efficient -Criteria parameter?
Thanks,
Larry