I upgraded the PowerShell 3.0 from 2.0 and installed PowerShell CLI from here: https://communities.vmware.com/community/vmtn/automationtools/powercli and following this url: http://windowsitpro.com/virtualization/vmware-vsphere-powercli but unable to add the modules, please find the below screen shot.
After adding modules I can only connect with vSphere and run the script like : > Connect-VIServer –Server IP
I tried even to resolve the issue: https://blogs.vmware.com/PowerCLI/2015/03/powercli-6-0-introducing-powercli-modules.html
Can some one please suggest asap.