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.