Configlet to Reboot Switch

Configlet to Reboot Switch

I have ran a configlet to upload the latest firmware to my switches.

reload
Y
end

I now want reboot them in batches but when I created a configlet with the following I get an error

reload 
You haven't saved your changes. Are you sure you want to continue ? (Y/N)[N] N 
<switchname># 

If I run the reload manually on the switch the output is below
 
<switchname>#reload                                                         
You haven't saved your changes. Are you sure you want to continue ? (Y/N)[N]  

I would then type Y to reboot, however when automated this auto populates with a N

Please can you advise how to create the configlet so that I can schedule the reboot of small batches of switches each night.
                New to ADManager Plus?

                  New to ADSelfService Plus?