Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

Get-OfficeExcelTableStyle

Aliases: ExcelTableStyle
Module
PSWriteOffice
Aliases
ExcelTableStyle
Inputs
None

Lists built-in Excel table styles and compatibility recommendations.

Syntax

Get-OfficeExcelTableStyle
[-Profile <Desktop|CrossHost>]
[-RecommendedOnly]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Show table styles recommended for cross-host workbooks.

Get-OfficeExcelTableStyle -RecommendedOnly |
                Sort-Object Name |
                Format-Table Name, Profile

Uses OfficeIMO's table style catalog to return styles that are broadly stable across desktop, web, and spreadsheet viewers.

Parameters

-Profile ExcelTableStyleCompatibilityProfile optional
Compatibility profile used to evaluate table styles.
Possible values: Desktop, CrossHost
-RecommendedOnly SwitchParameter optional
Return only styles recommended for the selected profile.

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.