How to use Windows Powershell command line to acknowledge or snooze Spotlight alarms?
Get-Alarms -Technology windows,sqlserver -ConnectionDisplayName @("sqlserver2016", "serverhosts")
Get alarms by Last Raised Time and severity
$lastRaised = Get-Date -Date "2018-12-12 16:30:45" Get-Alarms -Technology sqlserver -LastRaisedTime $lastRaised -Severity @("High", "Low")
Acknowledge Alarms
Get-Alarms -ConnectionName @("connection1") -Technology sqlserver -Severity @("Low") | Update-AckAlarm
-Message "Ack by DBA"
Snooze Alarms
The snooze alarm feature is under review and not currently available. See Spotlight Windows Powershell Command Line Access help document for full list of command parameters and details.