【发布时间】:2020-03-04 15:45:54
【问题描述】:
我需要从命令行运行https://docs.microsoft.com/en-us/office/troubleshoot/error-messages/cannot-open-add-in-from-localhost 中提到的以下 Powershell 命令:
CheckNetIsolation LoopbackExempt -a -n="microsoft.win32webviewhost_cw5n1h2txyewy"
虽然它可以在 PowerShell 上运行,但它不能在命令行上运行。这是我尝试过的命令:
powershell.exe -command "& {CheckNetIsolation LoopbackExempt -a -n=microsoft.win32webviewhost_cw5n1h2txyewy}"
谁能帮忙?
【问题讨论】: