mirror of
https://github.com/tsmagnum/Hyper-V-Report.git
synced 2026-04-17 21:54:09 +02:00
Update Hyper-V-Report.ps1
This commit is contained in:
committed by
GitHub
parent
287aaee2df
commit
6a0c566238
@@ -40,15 +40,15 @@ $ScriptPath = (Split-Path ((Get-Variable MyInvocation).Value).MyCommand.Path)
|
||||
$today = Get-Date
|
||||
$launchTime = $today.ToString('ddMMyyyy-hhmm')
|
||||
|
||||
#Setting the report filename
|
||||
$reportHtmlFile = $reportHtmlDir+"\$($reportHtmlName)_"+$launchTime+".html"
|
||||
|
||||
#Importing required assets
|
||||
. ("$($ScriptPath)\GlobalVariables.ps1")
|
||||
. ("$($ScriptPath)\StyleCSS.ps1")
|
||||
. ("$($ScriptPath)\HtmlCode.ps1")
|
||||
. ("$($ScriptPath)\Functions.ps1")
|
||||
|
||||
#Setting the report filename
|
||||
$reportHtmlFile = $reportHtmlDir+"\$($reportHtmlName)_"+$launchTime+".html"
|
||||
|
||||
#Region Hosts
|
||||
#Getting Host infos
|
||||
if ($clusterDeployment)
|
||||
@@ -375,4 +375,5 @@ if ($emailReport -and $reportHtmlRequired)
|
||||
Default {Write-Host -ForegroundColor Yellow "You must select an email system, msgraph or mailkit"}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user