Functions/PoShMon.Notifications.O365Teams/New-O365TeamsExceptionSubject.ps1

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

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