Just to confirm, this still appears to be an issue in 12.7
We just upgraded from 12.3 and have begun to encounter this very issue.
Right after the line:
VERBOSE: Dot-sourcing the script file 'C:\Program Files\WindowsPowerShell\Modules\VMware.VimAutomation.Common\12.7.0.20067789\net45\VMware.VimAutomation.Common.ps1'.
**********************
Windows PowerShell transcript end
End time: 20220719084406
**********************
We are now explicitly loading the VMware.VimAutomation.Common module in the profile, before we start our script transcript, in order to avoid this issue.