Please enable Javascript for better experience...
The term 'connect-viserver' is not recognized as the name of a cmdlet, function, script file, or operable program
By Pranay Jha | Jun 4, 2020 | In Articles | Total Views [ 2774 ]
Taged In
(0 Like)


PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> connect-viserver
connect-viserver : The term 'connect-viserver' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
At line:1 char:1
+ connect-viserver
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (connect-viserver:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException


Run below command to add VMware Snap-in.

Add-PSSnapin "VMware.VimAutomation.Core"

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Add-PSSnapin "VMware.VimAutomation.Core"

Thanks for visiting here. Share this article if you found it useful.
Like Facebook Page
Connect to twitter
Subscribe my Channel
Connect over Linkedin
Share this on Social Media

About the Author

Pranay Jha
Pranay Jha
Founder, Contributer

Public profile: user/profile/99900000

Follow me

facebook linkedin twitter G+ VMTN youtube

Thank you for visiting my profile. I am Pranay Jha, bring along a total of 11+ years of extensive experience with me in Information Technology sector for organizations from small business to large enterprises, wherein my current assignment I am associated with IBM as a Technical Solution Architect for Virtualization platform. I am vExpert x 3 (16/17/18), VCIX-DCV, VCAP5/6-DCD, VCAP5-DCA, VCP7-CMA, VCP5/6-DCV, VCA-DCV, VCA-Cloud, VSP, VCE-CIA, MCITP, MCSE, MCSA(Messaging). I am also an Independent blogger and founder of and I can be reached via email at or Direct Message via Contact Us form.

Please SignUp/Login to comment...

Or comment as anonymous...
* Name
* Email ID
Facebook Likes