# Get-OfficeNotebookOutput

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

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Notebook.NotebookCell`

**Outputs**

`OfficeIMO.Notebook.NotebookOutput`

**Source**

[GetOfficeNotebookOutputCommand.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/51cd59ece1fa22f062b7419cfd3afa43c266a7cf/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Notebook/GetOfficeNotebookOutputCommand.cs#L12) 

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

## Syntax

```
Get-OfficeNotebookOutput
-Cell <NotebookCell>
[-Index <Int32>]
[<CommonParameters>]
```

[#](#method-get-officenotebookoutput-notebookcell-int32)

Parameter set: `All Parameter Sets`

## Examples

### Inspect the first output from the second cell.

```powershell
$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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:1E9A45EB2F4DDA50F6EA019E592C3E33B1ECA413FF965931099CAB5C2BFD630E -->
