—————–Example—————–

Gets Mediant Gateway/SBC Alarms in a single powershell command


Get-MediantDeviceAlarm -Mediant "192.16.0.2" -http https -credential (get-credential) -alarmlimit 100

—————–Example—————–

Gets Mediant Gateway/SBC Alarms in a reusable script

#requires -version 4.0
#requires -module Mediant

$mediantcredential = Get-Credential -UserName "Admin" -Message "Mediant Credential"
$mediantdevice = Get-MediantDevice -Mediant 172.30.69.146 -Credential $mediantcredential -Http http
Get-MediantDeviceAlarm -MediantDevice $mediantdevice -alarmlimit 100

ProTip: Be sure to check out the other example scripts