Reply to Message

View discussion in a popup

Replying to:
Tocano
Enthusiast
Enthusiast

Just wanted to clarify that we are able to avoid the premature Stop-Transcript behavior by only pre-importing:

> Import-Module VMware.VimAutomation.Common

Now, that doesn't mean that other packages don't have the same issue. However, we don't use a great many of the various packages. For example, we do not use anything in the Horizon, NSX, or Cloud packages.

Your mileage may vary, but you may be able to avoid the 4+ minute module loading by identifying the specific packages that you need and seeing if they need to be pre-loaded or not. 

Again, this is just a workaround, not a real solution which I think still needs investigated and identified.

Reply
0 Kudos