Cmdlet
Get-OfficeNotebookCell
Streams notebook cells in document order, optionally by position or cell kind.
Syntax
Get-OfficeNotebookCell
-Document <NotebookDocument>
[-Index <Int32>]
[-Kind <Unknown| Markdown| Code| Raw>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Select saved outputs from all code cells.
$notebook | Get-OfficeNotebookCell -Kind Code | Get-OfficeNotebookOutputParameters
- -Document NotebookDocument
- Live notebook containing the cells.
- -Index Int32
- Zero-based cell position. Omit to enumerate the notebook.
- -Kind NotebookCellKind
- Optional cell-kind filter.
- Possible values:
Unknown,Markdown,Code,Raw
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.