Fix Email subject calculation
This commit is contained in:
@@ -270,7 +270,7 @@ $htmlReport = @"
|
||||
#region send reports and generate summary report
|
||||
# Send the report via email
|
||||
$Status = "OK"
|
||||
switch ($licenseUsageData | Select-Object -ExpandProperty LicenseStatus) {
|
||||
switch ($AppClientSecretsDetails.status + $AppCertificateDetails.status) {
|
||||
{ $_ -contains "ERROR" } { $Status = "ERROR"; break }
|
||||
{ $_ -contains "WARNING" } { $Status = "WARNING"; break }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user