API Reference
Cmdlet
Add-OfficeExcelReportSection
Adds a section heading to the current Excel report sheet.
Remarks
Adds a section heading to the current Excel report sheet.
Examples
Add a section and paragraph to a report sheet.
PS>
New-OfficeExcel -Path .\Operations.xlsx {
Add-OfficeExcelReportSheet -Name Summary {
Add-OfficeExcelReportSection -Text 'Service health'
Add-OfficeExcelReportParagraph -Text 'All monitored services are reporting.'
}
}
Uses the report composer to add a section heading and narrative text.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Add-OfficeExcelReportSection -Text <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Text String
- Section heading text.
Outputs
System.Object