OneNote data handling with PowerShell from getting hierarchy structure to exporting notebook

OneNote can export its notebooks, sections and pages as a document files. But it doesn't support as exporting different pages to separate document files exporting all pages under a notebook or a section to separate document files And due to limited format support, exporting data in unsupported form…