This is a script to automatically generate the tech support file on multiple Palo Alto Networks firewalls. To find more information about manual TSF generation, please go to: https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClRlCAK To run this script properly, you need to install Python 3.9 which you can download and install from here https://www.python.org/downloads/ You also need to install PIP (Python Package Installer) which you ca download and install from here https://pip.pypa.io/en/stable/ Then run pip3 install requests hurry.filesize elementpath Included with this package, there is a plain text file to hold the IP addresses of the Palo Alto Networks firewalls that you'd like to generate the TSF on. The script will create a thread for each IP address in the file ip.txt, verify reachability, create the API key and download the TSF file. This is a newline delimiter file, follow the prompts in the script and you should good to go To run the application execute the below python3 tsfgenerator.py The tech support file will be saved in the same folder as these scripts Note: This script is provided as-is without any support or warranty. Please track all feature request and bugs in Issue Tracker.