Powershell Add-PSSnapin VMWare.VimAutomation.Core issues
<p>I've just updated from Powershell 4 and PowerCLI 4.* to Powershell 5 and PowerCLI 6.*. After updating, adding/using snapin <code>VMWare.VimAutomation.Core</code> isn't working:</p>

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

<p>When trying to remove:</p>

<pre><code>PS C:\Users\Me&gt; 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.
</code></pre>

<p>From <code>Get-PSSnapin -Registered</code>, I get:</p>

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