Get-CqmAutomated.ps1 will identify your monitor database (presuming there only is one database), it will detect your database’s date format and launch CQM.PS1 from a folder specified. It will then get the current date and calculate the start date based on your input. 30, 60, 90 or 180 days are the options. 

This script was created for automation purposes, and given necessary email parameters, it will send a zipped file with the content to the designated address (be mindful of the size of log files, and possible mail server restrictions).   

This script is meant as compliment to the existing CQM.PS1 script, and cannot be used alone.   

The current version of CQM.ps1 (1.5 when the script was created) can be read here:



Version history

Known issues

Planned updates