zoukankan      html  css  js  c++  java
  • SharePoint 内容部署-PowerShell

    1. 创建一个新的内容部署路径

    New-SPContentDeploymentPath –Name "Marketing Internet Content"
    –SourceSPWebApplication "SharePoint – 80"
    –SourceSPSite "http://intranet.sp2010.com/Marketing"
    –DestinationCentralAdministrationURL "http://internet.sp2010.com:12345"
    –DestinationSPWebApplication "SharePoint – Internet"
    –DestinationSPSite "http://internet.sp2010.com/Marketing"
    –PathAccount (Get-Credential)

    2. 显示场中配置的部署路径

    Get-SPContentDeploymentPath

    3. 获取指定的内容部署路径

    $path = Get-SPContentDeploymentPath
    -Identity "Marketing Internet Content"

    4. 移除一个内容部署路径

    Remove-SPContentDeploymentPath "Marketing Internet Content"

    5. 创建一个新的部署工作

    New-SPContentDeploymentJob –Name "Marketing Deployment Job"
    –SPContentDeploymentPath "Marketing Internet Content"

    6. 获取场中配置的部署工作

    Get-SPContentDeploymentJob

    7. 获取指定的内容部署工作

    $job = Get-SPContentDeploymentJob -Identity "Marketing Deployment Job"

    8. 移除一个内容部署工作

    Remove-SPContentDeploymentJob "Marketing Deployment Job"

    9. 启动一个内容部署工作

    Start-SPContentDeploymentJob "Marketing Deployment Job"
  • 相关阅读:
    调试IPV6
    [super class]和[self class]
    Django2 + python3 上传图片
    django2 + python3 显示静态文件中的图片
    机器工厂——贪心
    Handstand 2——AT(先打表)
    Low Elements--AT
    Double Factorial——AT
    Brick Break——AT
    变音量——动态规划
  • 原文地址:https://www.cnblogs.com/javawebsoa/p/3165528.html
Copyright © 2011-2022 走看看