MichaelRyom
Hot Shot
Hot Shot

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 :slightly_smiling_face:

$DebugPreference = "Continue"
$VerbosePreference = "Continue"
Start-Transcript
[Environment]::OSVersion
$PSVersiontable
Import-Module VMware.PowerCli -Verbose -Debug
Stop-Transcript

 

Blogging at https://MichaelRyom.dk
Reply
0 Kudos