Skip to content

Commit

Permalink
Merge pull request #2117 from microsoft/dpaul-HcServiceInfo
Browse files Browse the repository at this point in the history
Add additional information to let admins know how to get the service display name
  • Loading branch information
dpaulson45 authored Jun 24, 2024
2 parents ddcddf2 + 0cb89e4 commit 869dbad
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,17 @@ function Invoke-AnalyzerExchangeInformation {
Add-AnalyzedResultInformation @params
}
}

if ($exchangeInformation.DependentServices.Critical.Count -gt 0 -or
$exchangeInformation.DependentServices.Common.Count -gt 0 -or
$exchangeInformation.DependentServices.Misconfigured.Count -gt 0) {
$params = $baseParams + @{
Details = "To determine what the display name of the service that is not properly configured or running, run 'Get-Service <Name>' to get more information."
DisplayCustomTabNumber = 2
DisplayWriteType = "Yellow"
}
Add-AnalyzedResultInformation @params
}
}

if ($exchangeInformation.GetExchangeServer.IsEdgeServer -eq $false -and
Expand Down

0 comments on commit 869dbad

Please sign in to comment.