LucD
Leadership
Leadership

Just a quick question, why do you explicitly import modules?
If the modules are in one of the directories listed in $env: PSModulePath there is no need for that.

Also, importing VMware.PowerCLI, implicit or explicit, generates a number of verbose message (where they inform you about the CEIP).
This might cause the transcript issues.
Perhaps try piping the Import-Module to Out-Null


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos