I have a powershell script to suspend and resume alerts.
What I need to do is tell the system to resume alerts an hour in.
The command I'm using is...
Invoke-SwisVerb $SWIS Orion.AlertSuppression ResumeAlerts @($entityUris, [DateTime]::UtcNow) | Out-Null
...and I've tried to use .addminutes to the date time but I'm obviously getting it wrong because on execution, the node is unmuted immediately.
Any suggestions please?