Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeNotebookOutput

Module
PSWriteOffice
Inputs
OfficeIMO.Notebook.NotebookCell
Outputs
OfficeIMO.Notebook.NotebookOutput

Returns saved notebook outputs in cell order without running any code.

Syntax

Get-OfficeNotebookOutput
-Cell <NotebookCell>
[-Index <Int32>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Inspect the first output from the second cell.

$notebook | Get-OfficeNotebookCell -Index 1 | Get-OfficeNotebookOutput -Index 0

Parameters

-Cell NotebookCell requiredpipeline: True (ByValue)
Cell containing the saved results.
-Index Int32 optional
Zero-based saved output position. Omit to enumerate the available outputs.

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.