• SharePoint Word Service-PowerShell


    1. 配置转换进程

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –ActiveProcesses 5

    2. 配置转换吞吐量

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services"
    –TimerJobFrequency 5 –ConversionsPerInstance 100

    3. 配置支持的转换文档格式

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –RemoveSupportedFormats rtf,mht
    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –AddSupportedFormats docx,doc

    4. 修改数据库信息

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –DatabaseServer SP2010
    –DatabaseName WordServices –DatabaseCredential (Get-Credential)

    5. 修改工作监听

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services"
    –ConversionTimeout 10

    6. 修改转换超时时间

    Set-SPWordConversionServiceApplication –Identity "Word Automation Services" –KeepAliveTimeout 45 –MaximumConversionTime 120

    7. 修改转换的最大尝试数

    Set-SPWordConversionServiceApplication –Identity "Word Automation Ser- vices" –MaximumConversionAttempts 3

    8. 修改使用内存的最大数

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –MaximumMemoryUsage 50

    9. 禁用97-2003文档的扫描

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –DisableBinaryFileScan

    启用

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –DisableBinaryFileScan:$false

    10. 禁用嵌入的字体

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –DisableEmbeddedFonts

    启用

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –DisableEmbeddedFonts:$false

    11. 修改回收站临界值

    Set-SPWordConversionServiceApplication
    –Identity "Word Automation Services" –RecycleProcessThreshold 200
  • 相关阅读:
    【转】 Linux Core Dump 介绍
    【转】 设定linux 系统可用资源
    Python for 循环 失效
    transition 平移属性实现 横向整屏 滚动
    vue 插槽的使用
    vue pc商城仿网易严选商品的分类效果
    干货-vue 中使用 rxjs 进行非父子组件中传值
    vue 2.0 脚手架项目中使用 cross-env 分环境打包
    什么是闭包,有哪些优缺点呢?
    滚动视差
  • 原文地址:https://www.cnblogs.com/justinliu/p/5961706.html
Copyright © 2020-2023  润新知