I recently updated my installation of PowerCLI. I had the old MSI install, so I uninstalled that and ran the command to install the new module.
Unfortunately, I cannot load the modules. I have uninstalled and reinstalled multiple times. Each uninstall I made sure to delete the modules from C:\Program Files\WindowsPowerShell\Modules and to reboot.
I keep bouncing between these two errors.
Import-Module : Unable to find type [VMware.VimAutomation.Sdk.Interop.V1.CoreServiceFactory].
Import-Module : Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
PowerShell is version 5.1. OS is Windows 7.
Any help is appreciated.