New-UcmReportStep
Description
Adds a new ReportStep to the current ReportItem
Parameters
-StepName: This is the name of the Step, translating to the title of the column for each of the rows of the first row, for example, "Enable User" -StepResult: This is the value of the action performed. This is a freeform field, but should it contain "OK" "Warn" or "Error", HTML reports will automatically have their cells coloured Green, Yellow and Red respectively.
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