#Now copy the excel spreadsheet and paste it back into Notepad++. Perform the following Find and Replace to remove the TABs that Excel uses to separate the fields: Find what: \t Replace with: Search Mode: Extended #Note the replace field is the space character, you can't see it in the text above. #Now perform the following Find and Replace to change the command from a SET command to a REPLACE command: Find what: set Replace with: replace Search Mode: Normal #Your file will now look like this: #============================================================= rename device-group "Internet Firewall" address CitrixServer01 to CitrixServer01_10.0.0.1_32 rename device-group "Internet Firewall" address CitrixServer02 to CitrixServer02_10.0.0.2_32 rename device-group "Internet Firewall" address CitrixServer03 to CitrixServer03_10.0.0.3_32 rename device-group "Internet Firewall" address CitrixServer04 to CitrixServer04_10.0.0.4_32 rename device-group "Internet Firewall" address CitrixServer05 to CitrixServer05_10.0.0.5_32 #============================================================= There are a lot of girations to go between Notepad++, Excel, Command Prompt so this process is really only meant for renaming many objects. Even with creating this procedure and performing the renames, I was able to create the script to rename just under 2,000 host objects in under two hours. Pasting these commands into my Panorama appliance proved to be slightly problematic. I had to use TeraTermPro to use the "Paste Delay Per Line" feature. Pasting the entire script into Putty did not work well. Adding a 200ms delay between each line was perfect. I got decent speed and no issues with text smashing into the console before the previous line was processed. TeraTerm >> SETUP >> ADDITIONAL SETTINGS>> COPY AND PASTE TAB:
... View more