Functions/PoShMon.Notifications.Email.Exceptions/New-EmailExceptionSubject.ps1
Function New-EmailExceptionSubject { [CmdletBinding()] Param( [hashtable]$PoShMonConfiguration, [ValidateSet("Monitoring", "Repairing")] [string]$Action = "Monitoring" ) return "[PoshMon] $($PoShMonConfiguration.General.EnvironmentName) $Action - Exception Occurred" } |