I cannot load the MIMPAM module.
First the program complains that it does not exist. When I pinpoint to it, I get the message the dotnet version is too new. Can someone explain it? My server is 'Azure 2012 R2' VM.
PS C:\Program Files\Microsoft Forefront Identity Manager\2010\Service\PAM\PowerShell\Modules\MIMPAM> Import-Module .\MIMPAM.psd1
Import-Module : The assembly 'Microsoft.IdentityManagement.WinTools.dll' was not loaded because no assembly with that name was
found. Verify the assembly name, and then try again.
At line:1 char:1
+ Import-Module .\MIMPAM.psd1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-Module], DllNotFoundException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
PS C:\Program Files\Microsoft Forefront Identity Manager\2010\Service\PAM\PowerShell\Modules\MIMPAM> gacutil -i .\Microsoft.IdentityManagement.WinTools.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1
Copyright (c) Microsoft Corporation. All rights reserved.
Failure adding assembly to the cache: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loa
ded.
PS C:\Program Files\Microsoft Forefront Identity Manager\2010\Service\PAM\PowerShell\Modules\MIMPAM>
GH