API Reference

Cmdlet

Export-OfficeExcel

Aliases: ExcelExport
Namespace PSWriteOffice
Aliases
ExcelExport
Inputs
System.Object
Outputs
System.Object

Exports PowerShell objects to an Excel workbook using an operator-friendly surface.

Remarks

Provides a fast PowerShell export path while keeping OfficeIMO as the workbook engine.

Examples

Authored help example

Export objects to a table.

PS>


$rows | Export-OfficeExcel -Path .\Report.xlsx -WorksheetName Data -TableName Data -AutoFit -FreezeTopRow
        

Creates a workbook, writes the objects as a table, auto-fits columns, and freezes the header row.

Export objects with report-friendly column formats.

PS>


$rows | Export-OfficeExcel -Path .\Report.xlsx -WorksheetName Data -TableName Sales -TextColumn Id -CurrencyColumn Revenue -ColumnFormat @{ Rate = @{ Style = 'Percent'; Decimals = 1 }; Created = 'Date' } -FormatCultureName en-US -AutoFitFormattedColumn
        

Formats ID values as text, Revenue as currency, Rate as a one-decimal percentage, and Created as a short date while keeping formatting logic in OfficeIMO.

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

Export-OfficeExcel [-ApplicationName <String>] [-Author <String>] [-AutoFit] [-AutoFitFormattedColumn] [-BoldTopRow] [-Category <String>] [-ClearCachedFormulaResults] [-ColumnFormat <Hashtable>] [-Company <String>] [-CurrencyColumn <String[]>] [-DateColumn <String[]>] [-DateSystem <1900|1904|NineteenHundred|NineteenFour>] [-DateTimeColumn <String[]>] [-Description <String>] [-DisableFastPackageWriter] [-DocumentTitle <String>] [-EvaluateFormulas] [-ExcludeProperty <String[]>] [-ForceFullCalculationOnOpen] [-FormatCultureName <String>] [-FormatDecimals <Int32>] [-FreezeFirstColumn] [-FreezeTopRow] [-IgnoreMissingColumnFormat] [-IncludeHeaderInColumnFormat] [-IncludeUnexportableProperties] [-InputObject <Object>] [-IntegerColumn <String[]>] [-Keywords <String>] [-LastModifiedBy <String>] [-Manager <String>] [-MarkFormulasDirty] [-NoAutoFilter] [-NoClobber] [-NoHeader] [-NoRowStripes] [-NoTable] [-NumberColumn <String[]>] [-Open] [-PassThru] -Path <String> [-PercentColumn <String[]>] [-PropertyConversionErrorAction <SilentlyContinue>] [-SafePreflight] [-SafeRepairDefinedNames] [-ShowColumnStripes] [-ShowFirstColumn] [-ShowLastColumn] [-StartColumn <Int32>] [-StartRow <Int32>] [-Subject <String>] [-TableName <String>] [-TableStyle <String>] [-TextColumn <String[]>] [-Title <String>] [-ValidateOpenXml] [-WorksheetName <String>] [<CommonParameters>]
#
Parameter set: Create

Parameters

ApplicationName String optionalposition: namedpipeline: False
Workbook application-name metadata.
Author String optionalposition: namedpipeline: False
Workbook author metadata.
AutoFit SwitchParameter optionalposition: namedpipeline: Falsealiases: AutoSize
Auto-fit exported columns.
AutoFitFormattedColumn SwitchParameter optionalposition: namedpipeline: False
Auto-fit only columns that receive export-time column formats.
BoldTopRow SwitchParameter optionalposition: namedpipeline: False
Bold the exported header row.
Category String optionalposition: namedpipeline: False
Workbook category metadata.
ClearCachedFormulaResults SwitchParameter optionalposition: namedpipeline: False
Remove cached formula results before saving.
ColumnFormat Hashtable optionalposition: namedpipeline: False
Header-to-format map. Values may be preset names such as Text, Currency, Percent, Date, or custom Excel number formats.
Company String optionalposition: namedpipeline: False
Workbook company metadata.
CurrencyColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as currency.
DateColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as dates.
DateSystem String optionalposition: namedpipeline: Falsevalues: 4
Workbook date system for Excel date serials.
Possible values: 1900, 1904, NineteenHundred, NineteenFour
DateTimeColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as date/time values.
Description String optionalposition: namedpipeline: False
Workbook description metadata.
DisableFastPackageWriter SwitchParameter optionalposition: namedpipeline: False
Disable OfficeIMO fast package writers for this save.
DocumentTitle String optionalposition: namedpipeline: False
Workbook document title metadata.
EvaluateFormulas SwitchParameter optionalposition: namedpipeline: False
Evaluate supported formulas and write cached values before saving.
ExcludeProperty String[] optionalposition: namedpipeline: False
Exclude specific properties from exported objects.
ForceFullCalculationOnOpen SwitchParameter optionalposition: namedpipeline: False
Request a full workbook recalculation when opened in Excel-compatible applications.
FormatCultureName String optionalposition: namedpipeline: False
Culture used by friendly currency column presets, such as en-US or pl-PL.
FormatDecimals Int32 optionalposition: namedpipeline: False
Decimal places used by friendly number, percent, and currency column presets.
FreezeFirstColumn SwitchParameter optionalposition: namedpipeline: False
Freeze the first exported column.
FreezeTopRow SwitchParameter optionalposition: namedpipeline: False
Freeze the exported header row.
IgnoreMissingColumnFormat SwitchParameter optionalposition: namedpipeline: False
Continue when a requested export-time column format header is missing.
IncludeHeaderInColumnFormat SwitchParameter optionalposition: namedpipeline: False
Include header cells when applying export-time column formats.
IncludeUnexportableProperties SwitchParameter optionalposition: namedpipeline: False
Include properties that cannot be read by exporting a descriptive placeholder value.
InputObject Object optionalposition: namedpipeline: True (ByValue)
Objects to write. Accepts pipeline input.
IntegerColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as whole numbers.
Keywords String optionalposition: namedpipeline: False
Workbook keyword metadata.
LastModifiedBy String optionalposition: namedpipeline: False
Workbook last-modified-by metadata.
Manager String optionalposition: namedpipeline: False
Workbook manager metadata.
MarkFormulasDirty SwitchParameter optionalposition: namedpipeline: False
Mark formula cells dirty before saving.
NoAutoFilter SwitchParameter optionalposition: namedpipeline: False
Disable AutoFilter dropdowns on the created table.
NoClobber SwitchParameter optionalposition: namedpipeline: False
Do not overwrite an existing workbook unless appending or clearing a sheet.
NoHeader SwitchParameter optionalposition: namedpipeline: False
Do not emit a header row.
NoRowStripes SwitchParameter optionalposition: namedpipeline: False
Disable alternating row stripes for newly created tables.
NoTable SwitchParameter optionalposition: namedpipeline: False
Do not create an Excel table around the exported data.
NumberColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as decimal numbers.
Open SwitchParameter optionalposition: namedpipeline: Falsealiases: Show
Open the workbook after saving.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit the saved FileInfo.
Path String requiredposition: 0pipeline: Falsealiases: FilePath
Destination workbook path.
PercentColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as percentages.
PropertyConversionErrorAction ActionPreference optionalposition: namedpipeline: Falsevalues: 7
Controls how unreadable PowerShell properties are handled while projecting export rows.
Possible values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend, Break
SafePreflight SwitchParameter optionalposition: namedpipeline: False
Run OfficeIMO worksheet preflight cleanup before saving.
SafeRepairDefinedNames SwitchParameter optionalposition: namedpipeline: False
Repair common defined-name issues before saving.
ShowColumnStripes SwitchParameter optionalposition: namedpipeline: False
Enable alternating column stripes for newly created tables.
ShowFirstColumn SwitchParameter optionalposition: namedpipeline: False
Emphasize the first table column when the selected style supports it.
ShowLastColumn SwitchParameter optionalposition: namedpipeline: False
Emphasize the last table column when the selected style supports it.
StartColumn Int32 optionalposition: namedpipeline: False
Starting column for new exports.
StartRow Int32 optionalposition: namedpipeline: False
Starting row for new exports. When appending and left at 1, rows are written after the used range.
Subject String optionalposition: namedpipeline: False
Workbook subject metadata.
TableName String optionalposition: namedpipeline: False
Optional Excel table name.
TableStyle String optionalposition: namedpipeline: False
Built-in Excel table style name.
TextColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as text, useful for IDs, zip codes, and leading-zero values.
Title String optionalposition: namedpipeline: False
Write a title above the exported table.
ValidateOpenXml SwitchParameter optionalposition: namedpipeline: False
Validate the saved package with OpenXmlValidator and throw on errors.
WorksheetName String optionalposition: namedpipeline: Falsealiases: Sheet
Worksheet name to create or update.

Outputs

System.Object

Export-OfficeExcel -Append [-AppendToTable] [-ApplicationName <String>] [-Author <String>] [-AutoFit] [-AutoFitFormattedColumn] [-BoldTopRow] [-Category <String>] [-ClearCachedFormulaResults] [-ColumnFormat <Hashtable>] [-Company <String>] [-CurrencyColumn <String[]>] [-DateColumn <String[]>] [-DateSystem <1900|1904|NineteenHundred|NineteenFour>] [-DateTimeColumn <String[]>] [-Description <String>] [-DisableFastPackageWriter] [-DocumentTitle <String>] [-EvaluateFormulas] [-ExcludeProperty <String[]>] [-ForceFullCalculationOnOpen] [-FormatCultureName <String>] [-FormatDecimals <Int32>] [-FreezeFirstColumn] [-FreezeTopRow] [-IgnoreMissingColumnFormat] [-IncludeHeaderInColumnFormat] [-IncludeUnexportableProperties] [-InputObject <Object>] [-IntegerColumn <String[]>] [-Keywords <String>] [-LastModifiedBy <String>] [-Manager <String>] [-MarkFormulasDirty] [-NoAutoFilter] [-NoClobber] [-NoHeader] [-NoRowStripes] [-NoTable] [-NumberColumn <String[]>] [-Open] [-PassThru] -Path <String> [-PercentColumn <String[]>] [-PropertyConversionErrorAction <SilentlyContinue>] [-SafePreflight] [-SafeRepairDefinedNames] [-ShowColumnStripes] [-ShowFirstColumn] [-ShowLastColumn] [-StartColumn <Int32>] [-StartRow <Int32>] [-Subject <String>] [-TableName <String>] [-TableStyle <String>] [-TextColumn <String[]>] [-Title <String>] [-ValidateOpenXml] [-WorksheetName <String>] [<CommonParameters>]
#
Parameter set: Append

Parameters

Append SwitchParameter requiredposition: namedpipeline: False
Append rows to an existing worksheet when the workbook exists.
AppendToTable SwitchParameter optionalposition: namedpipeline: False
Require append operations to extend an existing Excel table instead of writing after the used range.
ApplicationName String optionalposition: namedpipeline: False
Workbook application-name metadata.
Author String optionalposition: namedpipeline: False
Workbook author metadata.
AutoFit SwitchParameter optionalposition: namedpipeline: Falsealiases: AutoSize
Auto-fit exported columns.
AutoFitFormattedColumn SwitchParameter optionalposition: namedpipeline: False
Auto-fit only columns that receive export-time column formats.
BoldTopRow SwitchParameter optionalposition: namedpipeline: False
Bold the exported header row.
Category String optionalposition: namedpipeline: False
Workbook category metadata.
ClearCachedFormulaResults SwitchParameter optionalposition: namedpipeline: False
Remove cached formula results before saving.
ColumnFormat Hashtable optionalposition: namedpipeline: False
Header-to-format map. Values may be preset names such as Text, Currency, Percent, Date, or custom Excel number formats.
Company String optionalposition: namedpipeline: False
Workbook company metadata.
CurrencyColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as currency.
DateColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as dates.
DateSystem String optionalposition: namedpipeline: Falsevalues: 4
Workbook date system for Excel date serials.
Possible values: 1900, 1904, NineteenHundred, NineteenFour
DateTimeColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as date/time values.
Description String optionalposition: namedpipeline: False
Workbook description metadata.
DisableFastPackageWriter SwitchParameter optionalposition: namedpipeline: False
Disable OfficeIMO fast package writers for this save.
DocumentTitle String optionalposition: namedpipeline: False
Workbook document title metadata.
EvaluateFormulas SwitchParameter optionalposition: namedpipeline: False
Evaluate supported formulas and write cached values before saving.
ExcludeProperty String[] optionalposition: namedpipeline: False
Exclude specific properties from exported objects.
ForceFullCalculationOnOpen SwitchParameter optionalposition: namedpipeline: False
Request a full workbook recalculation when opened in Excel-compatible applications.
FormatCultureName String optionalposition: namedpipeline: False
Culture used by friendly currency column presets, such as en-US or pl-PL.
FormatDecimals Int32 optionalposition: namedpipeline: False
Decimal places used by friendly number, percent, and currency column presets.
FreezeFirstColumn SwitchParameter optionalposition: namedpipeline: False
Freeze the first exported column.
FreezeTopRow SwitchParameter optionalposition: namedpipeline: False
Freeze the exported header row.
IgnoreMissingColumnFormat SwitchParameter optionalposition: namedpipeline: False
Continue when a requested export-time column format header is missing.
IncludeHeaderInColumnFormat SwitchParameter optionalposition: namedpipeline: False
Include header cells when applying export-time column formats.
IncludeUnexportableProperties SwitchParameter optionalposition: namedpipeline: False
Include properties that cannot be read by exporting a descriptive placeholder value.
InputObject Object optionalposition: namedpipeline: True (ByValue)
Objects to write. Accepts pipeline input.
IntegerColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as whole numbers.
Keywords String optionalposition: namedpipeline: False
Workbook keyword metadata.
LastModifiedBy String optionalposition: namedpipeline: False
Workbook last-modified-by metadata.
Manager String optionalposition: namedpipeline: False
Workbook manager metadata.
MarkFormulasDirty SwitchParameter optionalposition: namedpipeline: False
Mark formula cells dirty before saving.
NoAutoFilter SwitchParameter optionalposition: namedpipeline: False
Disable AutoFilter dropdowns on the created table.
NoClobber SwitchParameter optionalposition: namedpipeline: False
Do not overwrite an existing workbook unless appending or clearing a sheet.
NoHeader SwitchParameter optionalposition: namedpipeline: False
Do not emit a header row.
NoRowStripes SwitchParameter optionalposition: namedpipeline: False
Disable alternating row stripes for newly created tables.
NoTable SwitchParameter optionalposition: namedpipeline: False
Do not create an Excel table around the exported data.
NumberColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as decimal numbers.
Open SwitchParameter optionalposition: namedpipeline: Falsealiases: Show
Open the workbook after saving.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit the saved FileInfo.
Path String requiredposition: 0pipeline: Falsealiases: FilePath
Destination workbook path.
PercentColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as percentages.
PropertyConversionErrorAction ActionPreference optionalposition: namedpipeline: Falsevalues: 7
Controls how unreadable PowerShell properties are handled while projecting export rows.
Possible values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend, Break
SafePreflight SwitchParameter optionalposition: namedpipeline: False
Run OfficeIMO worksheet preflight cleanup before saving.
SafeRepairDefinedNames SwitchParameter optionalposition: namedpipeline: False
Repair common defined-name issues before saving.
ShowColumnStripes SwitchParameter optionalposition: namedpipeline: False
Enable alternating column stripes for newly created tables.
ShowFirstColumn SwitchParameter optionalposition: namedpipeline: False
Emphasize the first table column when the selected style supports it.
ShowLastColumn SwitchParameter optionalposition: namedpipeline: False
Emphasize the last table column when the selected style supports it.
StartColumn Int32 optionalposition: namedpipeline: False
Starting column for new exports.
StartRow Int32 optionalposition: namedpipeline: False
Starting row for new exports. When appending and left at 1, rows are written after the used range.
Subject String optionalposition: namedpipeline: False
Workbook subject metadata.
TableName String optionalposition: namedpipeline: False
Optional Excel table name.
TableStyle String optionalposition: namedpipeline: False
Built-in Excel table style name.
TextColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as text, useful for IDs, zip codes, and leading-zero values.
Title String optionalposition: namedpipeline: False
Write a title above the exported table.
ValidateOpenXml SwitchParameter optionalposition: namedpipeline: False
Validate the saved package with OpenXmlValidator and throw on errors.
WorksheetName String optionalposition: namedpipeline: Falsealiases: Sheet
Worksheet name to create or update.

Outputs

System.Object

Export-OfficeExcel [-ApplicationName <String>] [-Author <String>] [-AutoFit] [-AutoFitFormattedColumn] [-BoldTopRow] [-Category <String>] [-ClearCachedFormulaResults] -ClearSheet [-ColumnFormat <Hashtable>] [-Company <String>] [-CurrencyColumn <String[]>] [-DateColumn <String[]>] [-DateSystem <1900|1904|NineteenHundred|NineteenFour>] [-DateTimeColumn <String[]>] [-Description <String>] [-DisableFastPackageWriter] [-DocumentTitle <String>] [-EvaluateFormulas] [-ExcludeProperty <String[]>] [-ForceFullCalculationOnOpen] [-FormatCultureName <String>] [-FormatDecimals <Int32>] [-FreezeFirstColumn] [-FreezeTopRow] [-IgnoreMissingColumnFormat] [-IncludeHeaderInColumnFormat] [-IncludeUnexportableProperties] [-InputObject <Object>] [-IntegerColumn <String[]>] [-Keywords <String>] [-LastModifiedBy <String>] [-Manager <String>] [-MarkFormulasDirty] [-NoAutoFilter] [-NoClobber] [-NoHeader] [-NoRowStripes] [-NoTable] [-NumberColumn <String[]>] [-Open] [-PassThru] -Path <String> [-PercentColumn <String[]>] [-PropertyConversionErrorAction <SilentlyContinue>] [-SafePreflight] [-SafeRepairDefinedNames] [-ShowColumnStripes] [-ShowFirstColumn] [-ShowLastColumn] [-StartColumn <Int32>] [-StartRow <Int32>] [-Subject <String>] [-TableName <String>] [-TableStyle <String>] [-TextColumn <String[]>] [-Title <String>] [-ValidateOpenXml] [-WorksheetName <String>] [<CommonParameters>]
#
Parameter set: ClearSheet

Parameters

ApplicationName String optionalposition: namedpipeline: False
Workbook application-name metadata.
Author String optionalposition: namedpipeline: False
Workbook author metadata.
AutoFit SwitchParameter optionalposition: namedpipeline: Falsealiases: AutoSize
Auto-fit exported columns.
AutoFitFormattedColumn SwitchParameter optionalposition: namedpipeline: False
Auto-fit only columns that receive export-time column formats.
BoldTopRow SwitchParameter optionalposition: namedpipeline: False
Bold the exported header row.
Category String optionalposition: namedpipeline: False
Workbook category metadata.
ClearCachedFormulaResults SwitchParameter optionalposition: namedpipeline: False
Remove cached formula results before saving.
ClearSheet SwitchParameter requiredposition: namedpipeline: False
Replace the target worksheet inside an existing workbook.
ColumnFormat Hashtable optionalposition: namedpipeline: False
Header-to-format map. Values may be preset names such as Text, Currency, Percent, Date, or custom Excel number formats.
Company String optionalposition: namedpipeline: False
Workbook company metadata.
CurrencyColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as currency.
DateColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as dates.
DateSystem String optionalposition: namedpipeline: Falsevalues: 4
Workbook date system for Excel date serials.
Possible values: 1900, 1904, NineteenHundred, NineteenFour
DateTimeColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as date/time values.
Description String optionalposition: namedpipeline: False
Workbook description metadata.
DisableFastPackageWriter SwitchParameter optionalposition: namedpipeline: False
Disable OfficeIMO fast package writers for this save.
DocumentTitle String optionalposition: namedpipeline: False
Workbook document title metadata.
EvaluateFormulas SwitchParameter optionalposition: namedpipeline: False
Evaluate supported formulas and write cached values before saving.
ExcludeProperty String[] optionalposition: namedpipeline: False
Exclude specific properties from exported objects.
ForceFullCalculationOnOpen SwitchParameter optionalposition: namedpipeline: False
Request a full workbook recalculation when opened in Excel-compatible applications.
FormatCultureName String optionalposition: namedpipeline: False
Culture used by friendly currency column presets, such as en-US or pl-PL.
FormatDecimals Int32 optionalposition: namedpipeline: False
Decimal places used by friendly number, percent, and currency column presets.
FreezeFirstColumn SwitchParameter optionalposition: namedpipeline: False
Freeze the first exported column.
FreezeTopRow SwitchParameter optionalposition: namedpipeline: False
Freeze the exported header row.
IgnoreMissingColumnFormat SwitchParameter optionalposition: namedpipeline: False
Continue when a requested export-time column format header is missing.
IncludeHeaderInColumnFormat SwitchParameter optionalposition: namedpipeline: False
Include header cells when applying export-time column formats.
IncludeUnexportableProperties SwitchParameter optionalposition: namedpipeline: False
Include properties that cannot be read by exporting a descriptive placeholder value.
InputObject Object optionalposition: namedpipeline: True (ByValue)
Objects to write. Accepts pipeline input.
IntegerColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as whole numbers.
Keywords String optionalposition: namedpipeline: False
Workbook keyword metadata.
LastModifiedBy String optionalposition: namedpipeline: False
Workbook last-modified-by metadata.
Manager String optionalposition: namedpipeline: False
Workbook manager metadata.
MarkFormulasDirty SwitchParameter optionalposition: namedpipeline: False
Mark formula cells dirty before saving.
NoAutoFilter SwitchParameter optionalposition: namedpipeline: False
Disable AutoFilter dropdowns on the created table.
NoClobber SwitchParameter optionalposition: namedpipeline: False
Do not overwrite an existing workbook unless appending or clearing a sheet.
NoHeader SwitchParameter optionalposition: namedpipeline: False
Do not emit a header row.
NoRowStripes SwitchParameter optionalposition: namedpipeline: False
Disable alternating row stripes for newly created tables.
NoTable SwitchParameter optionalposition: namedpipeline: False
Do not create an Excel table around the exported data.
NumberColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as decimal numbers.
Open SwitchParameter optionalposition: namedpipeline: Falsealiases: Show
Open the workbook after saving.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit the saved FileInfo.
Path String requiredposition: 0pipeline: Falsealiases: FilePath
Destination workbook path.
PercentColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as percentages.
PropertyConversionErrorAction ActionPreference optionalposition: namedpipeline: Falsevalues: 7
Controls how unreadable PowerShell properties are handled while projecting export rows.
Possible values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend, Break
SafePreflight SwitchParameter optionalposition: namedpipeline: False
Run OfficeIMO worksheet preflight cleanup before saving.
SafeRepairDefinedNames SwitchParameter optionalposition: namedpipeline: False
Repair common defined-name issues before saving.
ShowColumnStripes SwitchParameter optionalposition: namedpipeline: False
Enable alternating column stripes for newly created tables.
ShowFirstColumn SwitchParameter optionalposition: namedpipeline: False
Emphasize the first table column when the selected style supports it.
ShowLastColumn SwitchParameter optionalposition: namedpipeline: False
Emphasize the last table column when the selected style supports it.
StartColumn Int32 optionalposition: namedpipeline: False
Starting column for new exports.
StartRow Int32 optionalposition: namedpipeline: False
Starting row for new exports. When appending and left at 1, rows are written after the used range.
Subject String optionalposition: namedpipeline: False
Workbook subject metadata.
TableName String optionalposition: namedpipeline: False
Optional Excel table name.
TableStyle String optionalposition: namedpipeline: False
Built-in Excel table style name.
TextColumn String[] optionalposition: namedpipeline: False
Headers that should be formatted as text, useful for IDs, zip codes, and leading-zero values.
Title String optionalposition: namedpipeline: False
Write a title above the exported table.
ValidateOpenXml SwitchParameter optionalposition: namedpipeline: False
Validate the saved package with OpenXmlValidator and throw on errors.
WorksheetName String optionalposition: namedpipeline: Falsealiases: Sheet
Worksheet name to create or update.

Outputs

System.Object