2016-09-05 2 views
1

PowerShell 4 및 PowerCLI 4 *에서 Powershell 5 및 PowerCLI 6. *로 업데이트했습니다. 스냅인 VMWare.VimAutomation.Core을 사용/추가, 업데이트 한 후 작동하지 않는 :Powershell Add-PSSnapin VMWare.VimAutomation.Core issues

PS C:\Users\Me> Add-PSSnapin VMWare.VimAutomation.Core 
Add-PSSnapin : Unexpected error: A connection core service provider is already registered. Cannot register new one. 

제거하려고 할 때 : Get-PSSnapin -Registered에서

PS C:\Users\Me> Remove-PSSnapin VMWare.VimAutomation.Core 
Remove-PSSnapin : No Windows PowerShell snap-ins matching the pattern 'VMWare.VimAutomation.Core' were found. 
Check the pattern and then try the command again. 

, 내가 얻을 :

Name  : VMware.VimAutomation.Core 
PSVersion : 4.0 
Description : This Windows PowerShell snap-in contains Windows PowerShell cmdlets for managing vSphere. 

답변

0

내가 제거하고 PowerCLI를 다시 설치 6.3 및 모든 수정되었습니다. Get-PSSnapin -Registered 이제 다음을 반환

Name  : VMware.VimAutomation.Core 
PSVersion : 5.0 
Description : This Windows PowerShell snap-in contains Windows PowerShell cmdlets for managing vSphere. 

또한 참고 : VMware.VimAutomation.Core는 모듈과 PowerCLI이 버전의 스냅인 모두이다.