This script will list the actual log size, used log space, actual VLFs and used VLFs etc. information of all databases in an instance. Besides, the script will proactively list potential log size, potential VLFs of based on the current size of the transaction log.
The script will list information about VLFs about all the databases in an instance.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery