Im having issues getting the VMware.VimAutomation.core module to work while trying to use a script to reboot some servers once a week in the night. Whenever trying to run the script it will return th...
See more...
Im having issues getting the VMware.VimAutomation.core module to work while trying to use a script to reboot some servers once a week in the night. Whenever trying to run the script it will return the error: Connect-VIServer : Could not load file or assembly 'VMware.VimAutomation.Cis.Core.Interop, Version=12.5.0.4296, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. I have verified that the file exists and is not blocked. If anybody has any ideas it'd be greatly appreciated. PS C:\Windows\system32> $PSVersionTable Name Value ---- ----- PSVersion 5.1.14393 PSEdition Desktop PSCompatibleVersions {1.0, 2.0 BuildVersion 10.0.1439 CLRVersion 4.0.30319 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1