Cmdlet
Close-OfficeNotebook
Closes a notebook and releases its source-backed values without writing a file.
Syntax
Close-OfficeNotebook
-Document <NotebookDocument>
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Close a notebook after saving it.
$notebook | Close-OfficeNotebookParameters
- -Document NotebookDocument
- Live notebook to close.
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.