This VBS demo illustrates how to remove notes pages in PowerPoint 2003 and the later version.
Removing notes pages in PowerPoint is a frequently asked question by users in the Answers forums. For example,
Remove slide numbers from PowerPoint notes pages using VBA.
VBA shut off for PowerPoint 2007 Notes Page Header.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery