Closed lucdekens closed 8 years ago
When importing the DRSRule module in PowerCLI 6.5, the following error is displayed.
Import-DrsRule : Unable to find type [DRSRule.VMGroup]. Make sure that the assembly that contains this type is loaded. At line:1 char:1
+ CategoryInfo : InvalidOperation: (DRSRule.VMGroup:TypeName) [], RuntimeException + FullyQualifiedErrorId : TypeNotFound
The issue is caused in DRSRule.init.ps1, line 1. $pcliDll = "${env:\ProgramFiles(x86)}\VMware\Infrastructure\vSphere PowerCLI\VMware.Vim.dll"
Since PowerCLI 6.5, the location of the VMare.Vim.dll has changed.
When importing the DRSRule module in PowerCLI 6.5, the following error is displayed.
Import-DrsRule : Unable to find type [DRSRule.VMGroup]. Make sure that the assembly that contains this type is loaded. At line:1 char:1