I'm still convinced that doing these explicit Import-Module lines (be it for VMware.PowerCLI or VMware.VimAutomation.Core or any other module) is a bad coding practice.
Unless you want to load a specific version of a module of which you have multiple versions installed or for a module that is not located in a folder in $PSModulePath.
Module Auto-Loading, introduced in PSv3, loads the correct module at the time you use the 1st cmdlet from a module.
PS builds that module-cmdlet cache in any case, so why not use it?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference