Cmdlet
Save-OfficeNotebook
Atomically saves a live notebook as .ipynb and leaves it open for further editing.
Syntax
Save-OfficeNotebook
[-AllowLoss]
-Document <NotebookDocument>
[-NoClobber]
[-PassThru]
[[-Path] <String>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Save a new notebook or imported source to a new destination.
$notebook | Save-OfficeNotebook -Path ./updated.ipynb -NoClobber -PassThruParameters
- -AllowLoss SwitchParameter
- Accept loss reported when normalizing the source to Jupyter notebook format.
- -Document NotebookDocument
- Live notebook to save.
- -NoClobber SwitchParameter
- Refuse to replace a destination that already exists.
- -PassThru SwitchParameter
- Return the saved file.
- -Path String
- .ipynb destination. Omission uses the path associated with a native notebook at creation or open time.
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.