hello
vCheck is an awesome tool and plugins are plenty.
But I would like to use just the frame work for custom scripts and would each script/plugins to run as own report and send email to receipiant only when not empty report.
I have been able to adjust the styling by turning off bits like $ShowTOC=$false and commenting out until code where applicable, but I would really like to use the frame work just for generating HTML email without fancy theme. I do like the clarity theme.
Please let me know if this possible.
Thanks
vfk
That requires changes in the 'output' part (line 963-1062) in vCheck.ps1.
You will need to move the output generating part (line 988-1062) into the loop over all the plugin results (line 970-986).
There might be some side effects that you need to tackle.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Can't you just use the GlobalVariables.ps1 file to only ask for an email?
And with Select-Plugins.ps1 you should be able to disable all plugins (except 00 and 999)
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That's what I am Doing right now, however with multiple plugins it's generating a single report. My intent is to have a single report for r mm each plugins that I write.
That requires changes in the 'output' part (line 963-1062) in vCheck.ps1.
You will need to move the output generating part (line 988-1062) into the loop over all the plugin results (line 970-986).
There might be some side effects that you need to tackle.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
LucD after some thinking, I thought the best approach would be to use the $PluginCategory to reduce the potential number of reports getting generating. However, there is a lot going in the code and things are likely to break. Maybe something I work on the side in the future but I will leave it for now as is.