To fill the Template Version Field with a workflow, via Powershell or a program, you have to consider the following:
Structure of the string:
;#/Templates/Forms/DispForm.aspx?ID=<ID_DES_TEMPALTE_FILES_IN_DER_TEMPLATE_LIBRARY>;#<TITLE_DES_TEMPALTE_FILES_IN_DER_TEMPLATE_LIBRARY>;#Templates/<FILENAME_DES_TEMPALTE_FILES_IN_DER_TEMPLATE_LIBRARY>;#Templates/<FILENAME_DES_TEMPALTE_FILES_IN_DER_TEMPLATE_LIBRARY>;#<VERSION_DES_TEMPLATE_FILES>;#<VERSION_DES_TEMPLATE_FILES_MULTIPLIZIERT_MIT_512>;#
Example of a specific version of the template:
;#/Templates/Forms/DispForm.aspx?ID=3;#Meetingroom;#Templates/Meetingroom.rkcm;#Templates/Meetingroom.rkcm;#2.0;#1024;#
Example for the creation with the newest template version (leave the last parameters empty):
;#/Templates/Forms/DispForm.aspx?ID=3;#Meetingroom;#Templates/Meetingroom.rkcm;#Templates/Meetingroom.rkcm;#;#;#