# Get-OfficeOneNote

Reads an offline OneNote section, notebook hierarchy, or packaged notebook.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`System.String`

**Outputs**

`OfficeIMO.OneNote.OneNoteSection` `OfficeIMO.OneNote.OneNoteNotebook`

**Source**

[GetOfficeOneNoteCommand.cs:15](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/OneNote/GetOfficeOneNoteCommand.cs#L15) 

Reads an offline OneNote section, notebook hierarchy, or packaged notebook.

## Syntax

```
Get-OfficeOneNote
[-NotebookOptions <OneNoteNotebookReaderOptions>]
[-Options <OneNoteReaderOptions>]
[-Path] <String>
[<CommonParameters>]
```

[#](#method-get-officeonenote-onenotenotebookreaderoptions-onenotereaderoptions-string)

Parameter set: `All Parameter Sets`

## Examples

### Read a OneNote section and inspect its pages.

```powershell
$section = Get-OfficeOneNote -Path .\Operations.one
$section.Pages | Select-Object Title, CreatedUtc, LastModifiedUtc
```

## Parameters

**-NotebookOptions OneNoteNotebookReaderOptions optional**

Notebook hierarchy, package, and section-error policy.

**-Options OneNoteReaderOptions optional**

Bounded section and revision-store read options.

**-Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePath**

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

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:0BC101D4588B1B05107004B02A4C8D6F31E595B7147884BF2F7A491A2B1D5F3C -->
