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
  • 相关阅读:
    项目管理__项目验收材料
    机器学习----机器学习概述、机器学习的应用及典型相关算法
    机器学习--线性回归
    centos7.2密码在单用户下面的修改
    网络故障排查
    业务数据模型短暂思考整理
    mysql--->安装
    powershell
    常见面试题
    接口
  • 原文地址:https://www.cnblogs.com/justinliu/p/5961717.html
Copyright © 2011-2022 走看看