Functions/PoShMon.MessageFormatters.ShortMessage/New-ShortExceptionMessageSubject.ps1

Function New-ShortExceptionMessageSubject
{
    [CmdletBinding()]
    Param(
        [hashtable]$PoShMonConfiguration,
        [ValidateSet("Monitoring", "Repairing")]
        [string]$Action = "Monitoring" 
    )

    return "[PoshMon $($PoShMonConfiguration.General.EnvironmentName) $Action]`r`n"
}