Share This Post

OpsMgr 2007 – Get-Alert Examples

By request, a user wanted a SQL query to display the following information: Managed computer, Alert description and Alert severity. Well its much easier to just open up PowerShell and get this information, and slap it into a csv fie.

get-alert | select-object NetbiosComputerName, Description, Severity | Export-Csv -path “c:\alerts.csv“

Share This Post

Leave a Reply