启用接收位置 powershell biztalk

Enable-ReceiveLocation powershell biztalk

如何在网络共享上为 BizTalk 启用接收位置?任何人都可以对此有所了解吗?

Example:Enable-ReceiveLocation -Path '\t1\apps\Appli1\ReceiveLoc1'

我目前遇到错误

Enable-ReceiveLocation : Object reference not set to an instance of an object. At line:1 char:1 + Enable-ReceiveLocation -Path

我自己找到了一种方法。发布此内容以帮助其他人。

TO Enable\Disable 我们需要遍历的接收位置

Set-Location 'BizTalk:\All Artifacts\Receive Locations'

然后发出 ENable/Disable 接收位置命令