Generate a report of all operations over the last week for each database availability group in the organisation. It then ...

Generate a report of all operations over the last week for each database availability group in the organisation.  It then takes all of the operations in these reports and combines them into a summary report formatted as an HTML file.  If the command was run at 1PM on May 1, 2010, the summary report will be named FailoverSummary.2010_05_01_13_00_00.html.