问题描述
我尝试运行以下脚本
I tried running the following scripts
Get-SPWopiBinding -Action"MobileView" - 应用程序"WordPDF"| Remove-SPWopiBinding -Confirm:$ false
Get-SPWOPIBinding -Application"WordPDF"| Remove-SPWOPIBinding -Confirm:$ false
Get-SPWopiBinding -Action "MobileView" -Application "WordPDF" | Remove-SPWopiBinding -Confirm:$false
Get-SPWOPIBinding –Application "WordPDF" | Remove-SPWOPIBinding -Confirm:$false
但是在添加new-spwopibinding的第二个命令中,我得到错误"New-SPWOPIBinding没有输入。该操作已被取消。"
But on the second command to add a new-spwopibinding I get the error "New-SPWOPIBinding has no input. The operation has been cancelled."
任何帮助将不胜感激
推荐答案
如何添加新的spwopibinding?
How do you add a new-spwopibinding?
如果要再次在Word Web App中打开PDF,请以管理员身份运行SharePoint 2013 Management Shell,运行以下命令:
If you want to have PDFs open in Word Web App again, run SharePoint 2013 Management Shell as administrator, run the following command:
Get-SPWOPIBinding –Application "WordPDF" | Remove-SPWOPIBinding -Confirm:
请务必使用您自己的Office Web Apps服务器名称,而不是"Server.corp.Contoso.com"。
Be sure to use your own Office Web Apps server name instead of "Server.corp.Contoso.com."
请参阅以下博客:
Refer to the following blog:
最好的问候,
Lisa Chen
Lisa Chen
这篇关于Office Web App错误在Microsoft Word Mobile查看器中禁用了.pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!