OneNoteAutomation

1.0.2

PowerShell module for automating Microsoft OneNote using the COM API.
   
See https://github.com/knutkj/OneNoteAutomation for more information.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name OneNoteAutomation

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name OneNoteAutomation

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

© 2025 Knut Kristian Johansen

Package Details

Author(s)

  • Knut Kristian Johansen

Tags

OneNote Automation Windows

Functions

Get-OneNoteHierarchy Get-OneNoteNotebook Get-OneNotePage Get-OneNoteSection New-OneNotePage Remove-ComObject Show-OneNote Update-OneNotePage Use-ComObject

PSEditions

Desktop

Dependencies

This module has no dependencies.

Release Notes

API improvements

- Added -Id parameter to Get-OneNoteNotebook
- Added -Id parameter to Get-OneNoteSection
- Added -Id parameter to Get-OneNotePage
- Direct retrieval by ID now available for all Get-OneNote cmdlets
- Enhanced parameter documentation for clarity

Pipeline enhancements

- Update-OneNotePage now returns the updated page after saving
- Enables pipeline chaining with the latest version from OneNote

Repository samples

- Updated Set-OneNotePageToc and Set-OneNotePageSpacing to use new APIs
- Samples now return latest page version when using -Save switch

FileList

Version History

Version Downloads Last updated
1.0.2 (current version) 4 1/2/2026
1.0.1 5 1/2/2026
1.0.0 6 1/1/2026
0.1.1 6 12/31/2025