I am trying to execute an adhoc Netconfig job to run on some switches and am running into an issue configuring the job to save the config at the end of the job. My question specifically is how do I put a return character into an adhoc job? When I view the CLI command, it does not seem to take the 2 returns I've put in
copy config flash
This command uploads non-default configurations only.
Use 'copy config flash all' to upload both default and non-default configurations.
Flash device [bootflash]?
Name of file to copy to [switch.cfg]?
Overwrite auto-config file (y/n) [n]? y
Upload configuration to bootflash:switch.cfg
10025632 bytes available on device bootflash, proceed (y/n) [n]? y