Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect-VIServer : The term 'Connect-VIServer' is not recognized as the name of a cmdlet #2

Open
akj00 opened this issue Dec 31, 2020 · 0 comments

Comments

@akj00
Copy link

akj00 commented Dec 31, 2020

If you experince the problem as in the title put the following line:
Add-PSSnapin "VMware.VimAutomation.Core"
at the beginning of the vsphere.ps1

I indeed modified this line
$vmguest = $_.Guest
as
$vmguest = [string]$_.Guest

because of type conversion error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant