Cmdlet
Add-OfficeNotebookOutput
Attaches saved output or supplied console text to a code cell.
Syntax
Examples
Record console text captured by the caller.
$cell | Add-OfficeNotebookOutput -Stream stdout -Text 'Lab result'Parameters
- -Cell NotebookCell
- Code cell to extend.
- -PassThru SwitchParameter
- Return the updated cell.
- -Stream String
- Console stream associated with the supplied text.
- Possible values:
stdout,stderr - -Text String
- Saved text for the stream output.
- -Output NotebookOutput
- Existing saved output to copy to the cell.
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.