Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Administrator's Guide

Page of 721
Tools 
441
 Managed Switches
Here are some considerations:
The total number of scripts stored is limited by the NVRAM/FLASH size.
Application of scripts is partial if a script fails. For example, if the script executes 5 of 10 
commands and the script fails, the script stops at 5.
Scripts cannot be modified or deleted while being applied.
Validation of scripts checks for syntax errors only. It does not validate that the script will 
run successfully.
script Command
(Netgear Switch) #script ?
apply    
 
  Applies configuration script to the switch.
delete    
 
 Deletes a configuration script file from the switch.
list    
 
   Lists all configuration script files present on the switch.
show    
 
   Displays the contents of configuration script.
validate    Validate the commands of configuration script.
script list Command and script delete Command
(Netgear Switch) #script list
Configuration Script Name        Size(Bytes)
-------------------------        -----------        
basic.scr            
 
           93
running-config.scr             
 
 3201        
2 configuration script(s) found.
1020706 bytes free.
(Netgear Switch) #script delete basic.scr
Are you sure you want to delete the configuration script(s)? (y/n) y
1 configuration script(s) deleted.