Functions/PoShMon.Notifications.Pushbullet/Send-PushbulletMonitoringMessage.ps1
Function Send-PushbulletMonitoringMessage { [CmdletBinding()] Param( [hashtable]$PoShMonConfiguration, [System.Collections.ArrayList]$TestOutputValues, [hashtable]$NotificationSink, [ValidateSet("All","OnlyOnFailure","None")][string]$SendNotificationsWhen, [TimeSpan]$TotalElapsedTime, [bool]$Critical ) $subject = New-ShortMessageSubject -PoShMonConfiguration $PoShMonConfiguration -TestOutputValues $TestOutputValues -ShowIssueCount $false $body = New-ShortMessageBody -PoShMonConfiguration $PoShMonConfiguration -SendNotificationsWhen $SendNotificationsWhen ` -TestOutputValues $TestOutputValues -TotalElapsedTime $TotalElapsedTime Send-PushbulletMessage -PoShMonConfiguration $PoShMonConfiguration -NotificationSink $NotificationSink ` -Subject $Subject -Body $Body -Critical $Critical } |