Use Case: We have PowerShell scripts we use for patching our SQL Servers. As part of the script, we would like to be able to programmatically SNOOZE and UNSNOOZE the server we're patching so it doesn't alarm during reboots.
I also opened this as Feature Request: CUST-126972
———
There are some useful commands in the SQLSentry module - but the BIG missing one is the ability to Snooze servers. We need to be able to programmatically snooze servers during our regular patching!
"Invoke-UnwatchComputer", comes close, but that is not what we want, since we don't want to risk losing monitoring data.
Name
----
Add-GroupUser
Connect-SQLSentry
Disable-Group
Disable-User
Disconnect-SQLSentry
Enable-Group
Enable-User
Export-AdvisoryCondition
Export-EnvironmentConfiguration
Get-Computer
Get-Connection
Get-Group
Get-Site
Get-SQLSentryConfiguration
Get-User
Import-AdvisoryCondition
Import-EnvironmentConfiguration
Invoke-UnwatchComputer
Invoke-UnwatchConnection
Invoke-WatchComputer
Invoke-WatchConnection
Register-Computer
Register-Connection
Register-Group
Register-User
Remove-AdvisoryCondition
Remove-GroupUser
Unregister-Group
Unregister-User