VMware Cloud Community
impranayk
Enthusiast
Enthusiast
Jump to solution

Import-Module : THe required module 'VMware.VimAUtomation.Srm' is not loaded. Load the module or remove the module

Import-Module : THe required module 'VMware.VimAUtomation.Srm' is not loaded. Load the module or remove the module from 'RequiredMOdules' in the file

-------------------------------------------------------------------------
Follow me @ www.vmwareinsight.com
Please consider marking this answer "correct" or "helpful" if you found it useful

Pranay Jha | Blog: http://vmwareinsight.com
vExpert 2016/2017, VCAP5-DCD/DCA, VCP5-DCV, VCA-Cloud, VCE-CIA, MCSE, MCITP
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Looks like there might be an issue with your PowerCLI installation.
Can you do a

Get-Module  -Name VMware* -ListAvailable


I suspect the best option would be to completely delete all the PowerCLI modules, and then do a fresh install.


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

View solution in original post

3 Replies
LucD
Leadership
Leadership
Jump to solution

Can you provide a bit more info?
Which PowerShell version? 5.1, 6.*?
Which platform? Windows, Linux, Mac?

Which PowerCLI version?


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

0 Kudos
impranayk
Enthusiast
Enthusiast
Jump to solution

PowerCLI 6.5

Windows Platform

-------------------------------------------------------------------------
Follow me @ www.vmwareinsight.com
Please consider marking this answer "correct" or "helpful" if you found it useful

Pranay Jha | Blog: http://vmwareinsight.com
vExpert 2016/2017, VCAP5-DCD/DCA, VCP5-DCV, VCA-Cloud, VCE-CIA, MCSE, MCITP
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Looks like there might be an issue with your PowerCLI installation.
Can you do a

Get-Module  -Name VMware* -ListAvailable


I suspect the best option would be to completely delete all the PowerCLI modules, and then do a fresh install.


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