• SharePoint 元数据服务-PowerShell


    1. 获取元数据服务应用程序标识

    Get-SPServiceApplication

    2. 获取指定的元数据服务应用程序实例

    $metadataApp = Get-SPMetadataServiceApplication
    -Identity f3e6d88a-e0a7-455c-bbef-b4942e7607b5

    3. 配置元数据服务账户

    Set-SPMetadataServiceApplication –Identity "Managed Metadata Service" –AdministratorAccount "SPAdministrator"
    -FullAccessAccount "SPMDSFullAccess"
    –RestrictedAccount "SPMDSRestricted"
    –ReadAccessAccount "SPReadAccess1,SPReadAccess2"

    4. 配置术语存储数据库

    Set-SPMetadataServiceApplication –Identity "Managed Metadata Service"
     –DatabaseName TermStoreDB

    5. 配置内容类型中心

    Set-SPMetadataServiceApplication –Identity "Managed Metadata Service"
     –HubUri http://sp2010

    6. 获取元数据服务代理标识

    Get-SPServiceApplicationProxy

    7. 获取指定的元数据服务应用程序代理实例

    $metadataProxy = Get-SPMetadataServiceApplication Proxy
    -Identity f3e6d88a-e0a7-455c-bbef-b4942e7607b5

    8. 配置元数据服务连接选项

    Set-SPMetadataServiceApplicationProxy
    -Identity "Managed Metadata Service"
    –DefaultKeywordTaxonomy –DefaultSiteCollectionTaxonomy
    –ContentTypeSyndicationEnabled:$false
    –ContentTypePushdownEnabled:$false
  • 相关阅读:
    求欧拉路径模版 fleury算法
    回学校前的计划
    高斯消元模版
    usaco 3.2 Stringsobits 数位dp
    dijkstra模版
    codeforces AIM Tech Round (Div. 2)
    bnuoj 51275 并查集按深度合并建树
    bzoj3674: 可持久化并查集
    poj2104 求区间第k大 可持久化线段树
    Miller_Rabin判断素数模版
  • 原文地址:https://www.cnblogs.com/justinliu/p/5961714.html
Copyright © 2020-2023  润新知