Open alert count (all resolution states, except new and closed)

$states = 2..254;get-alert | where {$states -contains $_.resolutionState} | measure-object

main menu