API Reference
Cmdlet
Add-OfficeExcelReportTitle
Adds a title block to the current Excel report sheet.
Remarks
Adds a title block to the current Excel report sheet.
Examples
Add a polished title to a report sheet.
PS>
New-OfficeExcel -Path .\Operations.xlsx {
Add-OfficeExcelReportSheet -Name Summary {
Add-OfficeExcelReportTitle -Title 'Operational Summary' -Subtitle 'Current month'
Add-OfficeExcelReportKpiRow -InputObject @{ Revenue = 125000; Incidents = 3; Status = 'Ready' }
}
}
Uses the OfficeIMO sheet composer through PSWriteOffice's thin report-block wrapper.
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-OfficeExcelReportTitle [-Subtitle <String>] -Title <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Subtitle String
- Optional subtitle text.
- Title String
- Title text.
Outputs
System.Object