This is Powershell script to create a HTML file from CSV(s) located in a directory.
The script create an Table in HTML for each CSV file found in the folder defined.
You must specify the folder location which contains the CSV Files for that :
Open and Edit the below variable :
$Pathfiles = $ScriptDir + "\Hyper-V_ExportFiles\Nodes\"If you want to change the background color of the columns header you must change this variable :
$backgroundColorHeader = "#f3f3f3"Open Powershell, go to the script location and type:
.\Build_HTMLReport_From_CSVFiles.ps1- Add function which allow to send the report by email
- Add parameters in the script which allow to specify:
- directly the folder containing the CSV(s) files
- the export location
- the parameters necessary to send the report by email ( smpt server , email address etc...)
