Count alerts raised in specific date range
Count alerts raised in date range
get-alert | where {$_.TimeRaised.ToLocalTime().date -ge "mm/dd/yyyy" -and $_.TimeRaised.ToLocalTime().date -le "mm/dd/yyyy"}
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Count alerts raised in date range
get-alert | where {$_.TimeRaised.ToLocalTime().date -ge "mm/dd/yyyy" -and $_.TimeRaised.ToLocalTime().date -le "mm/dd/yyyy"}