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-OfficeWordTableCell

Aliases: WordTableCells
Module
PSWriteOffice
Aliases
WordTableCells
Inputs
OfficeIMO.Word.WordTable
Outputs
OfficeIMO.Word.WordTableCell

Gets cells from an OfficeIMO Word table.

Syntax

Get-OfficeWordTableCell
[-Column <Int32>]
[-Row <Int32>]
[-Table] <WordTable>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Read a specific status cell from the first table.

$table = Get-OfficeWordTable -Path .\Report.docx | Select-Object -First 1
$cell = $table | Get-OfficeWordTableCell -Row 1 -Column 2
$cell.Paragraphs |
    Select-Object -Property Text

Gets a zero-based table cell from an OfficeIMO table object and inspects its paragraphs.

Parameters

-Column Int32 optional
Optional zero-based column index.
-Row Int32 optional
Optional zero-based row index.
-Table WordTable requiredposition: 0pipeline: True (ByValue)
Table to inspect.

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.