New-UcmReportItem

Adds a new Line Object to the Report

For a full overview, check About UCM Reporting Cmdlets

Description

Adds a new Line Object to the Report

Parameters

-LineTitle: This is the title of the first column in the report and should be the same for every ReportItem. -LineMessage: This is the value we are setting the first cell to and should be unique to prevent conflicts. In the above example "AppleJack" was used the first time we called New-UcmReportItem, and "Discord" the second time

Example

New-UCMReportItem -LineTitle "Username" -LineMessage "[email protected]"
    New-UcmReportStep -Stepname "Enable User" -StepResult "OK: Created User"
    New-UcmReportStep -Stepname "Assign Licence" -StepResult "OK: Assigned Licence"
    New-UcmReportStep -Stepname "Assign Policy" -StepResult "OK: Policy Assigned"

New-UCMReportItem -LineTitle "Username" -LineMessage "[email protected]"
    ...
    ...

Inputs

This function accepts no inputs

Outputs

This cmdlet does not output anything to the pipeline

Last updated