docs/user/recipes/migrating-from-onenote.md
This guide mostly duplicates the instructions at the repo for the PowerShell script.
The powershell script 'ConvertOneNote2MarkDown-v2.ps1' will utilize the OneNote Object Model on your workstation to convert all OneNote pages to Word documents and then utilizes PanDoc to convert the Word documents to Markdown (.md) format. It will also:
Clone the script to your computer (see here, if you're unfamiliar with git).
Once cloned, navigate to the repo folder. In VS Code, use File -> Add Folder to Workspace, right click on the folder in the left side bar and click Open In Integrated Terminal.
Run the script by executing
.\ConvertOnenote2Markdown-v2
Set-ExecutionPolicy Bypass -Scope Process