PowerCLI 6.5 watchout the Modules

PowerCLI 6.5 watchout the Modules

You have to look at the Modules in PowerCLI 6.5.

When you wrote your Scripts with the PowerShell ISE you had to load the PSSnapins before.

In 6.5 there are no longer PSSnapins! Now there are only Modules!

Before PowerCLI 6.5 you added your Snapins via

Add-PSSnapin VMware.VimAutomation.Core

In 6.5 you have to load the Modules via

Import-Module VMware.VimAutomation.Core
Import-Module VMware.VimAutomation.Vds
Import-Module VMware.VimAutomation.Cloud
Import-Module VMware.VimAutomation.PCloud
Import-Module VMware.VimAutomation.Cis.Core
Import-Module VMware.VimAutomation.Storage
Import-Module VMware.VimAutomation.HorizonView
Import-Module VMware.VimAutomation.HA
Import-Module VMware.VimAutomation.vROps
Import-Module VMware.VumAutomation
Import-Module VMware.DeployAutomation
Import-Module VMware.ImageBuilder
Import-Module VMware.VimAutomation.License

Otherwise you start the VMware Script witch is located under (default)

“C:\Program Files (x86)\VMware\Infrastructure\PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1”


Also checkout the new functions that came with 6.5 here:



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.