2016-09-05 12 views
1

PowerShell 4とPowerCLI 4 *からPowershell 5とPowerCLI 6 *に更新しました。スナップインVMWare.VimAutomation.Coreを使用して/追加、更新後に動作していない:Powershell Add-PSSnapin VMWare.VimAutomation.Coreの問題

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. 

削除しようとした場合:

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. 

Get-PSSnapin -Registeredから、私は得る:

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のこのバージョンでは、スナップインの両方です。

関連する問題