Count alerts raised in date range

get-alert | where {$_.TimeRaised.ToLocalTime().date -ge "mm/dd/yyyy" -and $_.TimeRaised.ToLocalTime().date -le "mm/dd/yyyy"}

main menu