"OneNote Batch" has a feature can search the content of attachments, it support to search .txt, .rtf, .doc, .docx, .ppt, .pptx, .xls, .xlsx attachments before version 21.And "OneNote Batch" v21 add to support search inside PDF attachments.