I'm getting the error:
"Attempting to perform the InitializeDefaultDrives operation on the 'BizTalk' provider failed.".
I got this working on our BizTalk Dev system several months ago; just installed the Production server today, and getting the error.
Using BizTalk 2016 on Win 2012.
I ran the command:
%windir%\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
.\BizTalkFactory.PowerShell.Extensions.dll
and I'm using PowerShell 4 in 32-bit mode:
Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Users\myusername> get-pssnapin -registered
Name : BizTalkFactory.PowerShell.Extensions
PSVersion : 4.0
Description : Windows PowerShell CmdLets and Provider for Microsoft Biztalk Server
Name : WDeploySnapin3.0
PSVersion : 2.0
Description : This is a PowerShell snap-in that contains cmdlets for managing Microsoft Web Deployment infrastructure.
PS C:\Users\myusername> Add-PSSnapIn -Name BiztalkFactory.PowerShell.Extensions
Attempting to perform the InitializeDefaultDrives operation on the 'BizTalk' provider failed.
PS C:\Users\myusername> Add-PSSnapIn -Name BiztalkFactory.PowerShell.Extensions
PS C:\Users\myusername> Get-ExecutionPolicy
RemoteSigned