Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Diagnostics/HealthChecker/Features/Get-HtmlServerReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,6 @@ function Get-HtmlServerReport {
$htmlReport = $htmlHeader + $htmlOverviewTable + $htmlServerDetails + "</body>$([System.Environment]::NewLine)</html>"

$htmlReport | Out-File $HtmlOutFilePath -Encoding UTF8

Write-Host "HTML Report Location: $HtmlOutFilePath"
}
2 changes: 1 addition & 1 deletion Diagnostics/HealthChecker/HealthChecker.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ param(
[switch]$BuildHtmlServersReport,

[Parameter(Mandatory = $false, ParameterSetName = "HTMLReport", HelpMessage = "Provide the name of the Report to be created.")]
[string]$HtmlReportFile = "ExchangeAllServersReport.html",
[string]$HtmlReportFile = "ExchangeAllServersReport-$((Get-Date).ToString("yyyyMMddHHmmss")).html",

[Parameter(Mandatory = $true, ParameterSetName = "DCCoreReport", HelpMessage = "Enable the DCCoreReport feature data collection against the current server's AD Site.")]
[switch]$DCCoreRatio,
Expand Down
2 changes: 1 addition & 1 deletion docs/Diagnostics/HealthChecker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ ServerList | Used in combination with the LoadBalancingReport switch for letting
SiteName | Used in combination with the LoadBalancingReport switch for letting the script to know which servers to run against in the site.
XMLDirectoryPath | Used in combination with BuildHtmlServersReport switch for the location of the HealthChecker XML files for servers which you want to be included in the report. Default location is the current directory.
BuildHtmlServersReport | Switch to enable the script to build the HTML report for all the servers XML results in the XMLDirectoryPath location.
HtmlReportFile | Name of the HTML output file from the BuildHtmlServersReport. Default is ExchangeAllServersReport.html
HtmlReportFile | Name of the HTML output file from the BuildHtmlServersReport. Default is ExchangeAllServersReport-yyyyMMddHHmmss.html
DCCoreRatio | Gathers the Exchange to DC/GC Core ratio and displays the results in the current site that the script is running in.
AnalyzeDataOnly | Switch to analyze the existing HealthChecker XML files. The results are displayed on the screen and an HTML report is generated.
VulnerabilityReport | Switch to collect the Vulnerability Information for all the servers in the environment and export it out to json file.
Expand Down