zoukankan      html  css  js  c++  java
  • SharePoint 用户配置文件服务

    1. 获取用户配置文件服务应用程序标识

    Get-SPServiceApplication

    2. 获取指定的用户配置文件服务应用程序实例

    $profileSA = Get-SPServiceApplication
    -Identity 9b6235e4-f306-4ccc-8192-0c83cb679476

    3. 配置用户配置文件服务应用程序设置

    $profileSA = Get-SPServiceApplication
    -Identity 9b6235e4-f306-4ccc-8192-0c83cb679476
    Set-SPProfileServiceApplication –Identity $profileSA
    -MySiteHostLocation http://sp2010:80/my/
    -MySiteManagedPath my/personal

    4. 移除旧的注释

    $profileProxy = Get-SPServiceApplicationProxy
    -Identity 150232e4-a3d2-4915-adb1-155ea77a6dfb
    Remove-SPSocialItemByDate
    –ProfileServiceApplicationProxy $profileProxy –RemoveComments:$true
    –EndDate 12/1/2010 –Confirm:$false

    5. 移除旧的评分

    $profileProxy = Get-SPServiceApplicationProxy
    -Identity 150232e4-a3d2-4915-adb1-155ea77a6dfb
    Remove-SPSocialItemByDate –ProfileServiceApplicationProxy
    $profileProxy –RemoveRatings:$true –EndDate 12/1/2010 –Confirm:$false

    6. 移除旧的标签

    $profileProxy = Get-SPServiceApplicationProxy
    -Identity 150232e4-a3d2-4915-adb1-155ea77a6dfb
    Remove-SPSocialItemByDate –ProfileServiceApplicationProxy
    $profileProxy –RemoveTags:$true –EndDate 12/1/2010 –Confirm:$false

    7. 更新用户配置文件照片存储

    Update-SPProfilePhotoStore –MySiteHostLocation http://mysites

    8. 使用用户配置文件服务的辅助命令

    SPSiteSubscriptionProfileConfig    
    SPProfileServiceApplicationSecurity    
    SPProfileServiceApplicationProx
  • 相关阅读:
    Docker Registry 管理镜像
    Dockerfile 构建镜像
    制作docker镜像
    docker 使用及基本命令
    centos7 安装 docker
    spring-boot-devtools 热部署
    mysql库复制
    windows下安装和设置gradle
    springboot项目搭建
    下载和安装
  • 原文地址:https://www.cnblogs.com/justinliu/p/5961717.html
Copyright © 2011-2022 走看看