我正在为BizTalk开发PowerShell部署脚本。我想使用PowerShell以XML格式导入行程。可用于此任务的命令是 esbimportutil.exe 。但这仅在命令提示符下起作用,而在PowerShell中不起作用。
错误显示为:
The term 'esbimportutil.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.
我以管理员身份运行PowerShell,甚至尝试从源根位置运行命令,但仍然没有用。
最佳答案
我找到了解决方案。通过使用一个简单的命令解决了该问题:
开始进程-FilePath“... \ esbimportutil.exe” -ArgumentList $ argument
命令“启动过程”起到了神奇的作用。
关于powershell - 适用于PowerShell BizTalk的esbimportutil.exe的替代,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34446421/