Cmdlet
Get-OfficeOneNote
Reads an offline OneNote section, notebook hierarchy, or packaged notebook.
Syntax
Get-OfficeOneNote
[-NotebookOptions <OneNoteNotebookReaderOptions>]
[-Options <OneNoteReaderOptions>]
[-Path] <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Read a OneNote section and inspect its pages.
$section = Get-OfficeOneNote -Path .\Operations.one
$section.Pages | Select-Object Title, CreatedUtc, LastModifiedUtcParameters
- -NotebookOptions OneNoteNotebookReaderOptions
- Notebook hierarchy, package, and section-error policy.
- -Options OneNoteReaderOptions
- Bounded section and revision-store read options.
- -Path String
- Path to a .one section, .onetoc2 notebook index, or .onepkg archive.
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.