Initialize-UcmReport
Checks for clears and creates a new object to store status for reporting later.
For a full overview, check About UCM Reporting Cmdlets
Description
Creates a new PSCustomObject to store a report. Must be called before New-UcmReportItem or New-UcmReportStep
Parameters
Title: "HTML Report" SubTitle: "The results were as follows" StartDate: (Get-Date -format dd.MM.yy.hh.mm) NiceDate: (Get-Date -displayhint datetime)
Notes
This function will create a few global variables, including the two below which specify the filenames for CSV or HTML reports. by default, the filename is based on the Title parameter and the time the report was initialized.
Once the report has been initialized, these variables can be updated to change the filenames before Export-UcmCsvReport or Export-UcmHtmlReport are called.
Example
Inputs
This function accepts no inputs
Outputs
This function does not create pipelined output
Last updated