After trying a gazillion times to install the BizTalk powershell adapter (without errors) and being unable to uninstall it. I was forced to look for alternate solutions.
I came up with the idea of manually registering the extension based upon the installed Dll's.
And it worked like a charm:
PS C:\Program Files (x86)\BizTalkFactory PowerShell Provider>
set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil
installutil .\BizTalkFactory.PowerShell.Extensions.dll
Add-PSSnapin -Name BizTalkFactory.PowerShell.Extensions
get-PSsnapin -registered
expected result :
Name : BizTalkFactory.PowerShell.Extensions
PSVersion : 2.0
Description : Windows PowerShell CmdLets and Provider for Microsoft Biztalk Serv
Addition : Elevated priveledges is not the issue. But it's definently worth trying before anything else, if you tend to forget it from time to time like I do ;)
Michael Høtoft
92d7565e-83cc-42b2-a057-db32a9cb2cef|0|.0
BizTalk Server, Sharepoint Server
BizTalk, PowerShell