Functions/PoShMon.Notifications.Pushbullet/Get-PushbulletMessageHeading.ps1
Function Get-PushbulletMessageHeading { [CmdletBinding()] param( $TestOutputValues ) $issueCount = 0 foreach ($outputValue in $TestOutputValues) { if (($outputValue.NoIssuesFound -eq $false)) { $issueCount++ } } $subject = "[PoshMon] $EnvironmentName Monitoring Results ($issueCount Issue(s) Found)" return $subject } |