Error: The term 'Connect-VIServer' is not recognized as the name of a cmdlet
Have you installed PowerCLI on whatever system you are running your script from? The powerCLI modules for Powershell need to be installed and loaded to run those commandlets you are using. It looks like its trying to load them at the start of the script, but if you haven't installed them on that system it wont work. You can download them from VMware:
https://my.vmware.com/web/vmware/details?downloadGroup=PCLI650R1&productId=614
If you still can't find an answer to what you're looking for, or you have a specific question, open a new ticket and we'd be happy to help!
Contact Us