Hello all!
I'm attempting to utilize the SWIS verb Orion.AlertActive. I've been able to successfully pass along multiple AlertObjectIDs in an array to the verb Acknowledge but unsuccessful in the note variable value being passed along. Also oddly enough when I use that same array with the Unacknowledge verb it says it cannot unpack the parameter - of type System.Int32.
#Testing Alert IDs 496, 2447, 2448
[array]$AlertID = 496, 2447, 2448
#Testing Alert Ack note
[String]$note = "This is a test note using the API"
#Working but can't get the $note value to pass along it seems
Invoke-SwisVerb $swis "Orion.AlertActive" "Acknowledge" @($AlertID, $note)
#Does not work
#Invoke-SwisVerb $swis "Orion.AlertActive" "Unacknowledge" @($AlertID)