You script fails was well, but I don't write any output in the latest way I did it. Only to console and only before Import of module, given verbose/debug there is plenty of output to console for start-transcript to pick up on ![]()
$DebugPreference = "Continue"
$VerbosePreference = "Continue"
Start-Transcript
[Environment]::OSVersion
$PSVersiontable
Import-Module VMware.PowerCli -Verbose -Debug
Stop-Transcript