Simple script to initialize a Cisco Catalyst 1000 switch, update the firmware, boot the new system and delete the old firmwares.
Boot the switch, and cancel the autoconfiguration of the switch, usually by typing "no".
Then, simply start the script and it will do the job.
Don't forget to change "COM-TO-USE" to your COM port.