VMware Cloud Community
samojitd
Contributor
Contributor

Import/Integrate Vmware Powercli Modules in Windows Powershell

Hello All,

How to permanently integrate or import all the Vmware PowerCLI modules in Windows Powershell.

Thanks in advance,

Samojit

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership

Depends, are you on PowerShell 3.* or higher?

And do you use PowerCLI 10? Or at least PowerCLi 6.5.1 or higher.

In that case, the module auto-load feature of PowerShell, and the standard location of the PowerCLI modules, will make sure your scripts have access to the PowerCLI cmdlet, without doing anything special.


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

Reply
0 Kudos
samojitd
Contributor
Contributor

please refer the screen shot

Reply
0 Kudos
LucD
Leadership
Leadership

That's normal, you have to select Y or A.

See also Welcome PowerCLI to the PowerShell Gallery – Install Process Updates


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

Reply
0 Kudos