Using the admintools command line we can create all types of routines and scripts.
[dbadmin@bih001 ~]$ admintools -t upgrade_license_key -d test -l /home/dbadmin/00.dat Error: License key /home/dbadmin/00.dat not installed. Details follow. Vertica license is expired