4. Using an AutoConfig File - Skatterbrainz/CMHealthCheck GitHub Wiki

If you get tired of entering the same parameters for the Export-CMHealthCheck (or Invoke-CMHealthCheck) functions, you can save the parameters in a text file and use the -AutoConfig parameter.

Sample File

cmhealthconfig.txt

AuthorName=John Wick 
CopyrightName=Retirement Specialists 
Theme=Ocean 
Detailed=True 
TableRowStyle=Solid 
CssFilename=c:\docs\wickrocks.css 
ImageFile=c:\docs\bodybags.png 
CoverPage= 
Template= 
HealthcheckFilename= 
MessagesFilename= 
HealthcheckDebug=False 
Overwrite=True