【发布时间】:2014-05-30 12:48:25
【问题描述】:
当名称中包含斜杠时,如何删除接收端口?
我有一个名称中带有斜杠的接收端口,例如类似... TestReceivePort/Service
当我尝试Remove-Item -Path "TestReceivePort/Service" 时,我收到一个错误...
Remove-Item : Cannot find
path BTS:\Applications\TestApp\Receive Ports\TestReceivePort\Service
试过-LiteralPath,试过单引号
【问题讨论】:
-
嗯...设置变量的转义字符都不起作用。
-
@boatseller 我最终使用了 ExplorerOM RemoveReceivePort 方法
-
你应该用你的代码写一个快速的答案并将它标记为接受。
-
@TheMadTechnician Bitmask 打败了我!
标签: powershell biztalk biztalk-ps1-provider