My first post again in aaaaaages sorry about that guys but as the more astute of you have probably realised this is a rip off the Microsoft Page here
There is a lot of faff on that page and right at the bottom is the most important bit, the script and in true MS fashion with a typo in it, so here is the corrected version tweaked slightly and its all you need if you are on 64 bit windows which to be fair who isn’t?
You can also get the required files from the MIM ISO which in some cases is easier to get your hands on, they are located at
..\Service and Portal\Program Files\Microsoft Forefront Identity Manager\2010\Service. The script also doesn’t need the GACUTIL so you don’t have to waste time trying to find that if your system doesn’t have it already.
#Set dll location folder $location = "C:\Install\FIMResourcemanagement" cd $location set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil installutil .\Microsoft.ResourceManagement.Automation.dll Set-location $location [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") $publish = New-Object System.EnterpriseServices.Internal.Publish $publish.GacInstall("c:\Install Microsoft.ResourceManagement.dll") $publish.GacInstall("c:\Install\Microsoft.IdentityManagement.Logging.dll")
That’s all you need to get by…