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
  • 相关阅读:
    Bootstrap4(28): 滚动监听(Scrollspy)
    Bootstrap4(27): 弹出框
    Bootstrap4(26): 提示框
    Bootstrap4(25): 模态框
    Bootstrap4(24): 轮播
    Bootstrap4(23): 自定义表单
    Bootstrap4(22): 输入框组
    Bootstrap4(21): 表单控件
    Bootstrap4(20): 表单
    Bootstrap4(19): 面包屑导航(Breadcrumb)
  • 原文地址:https://www.cnblogs.com/justinliu/p/5961717.html
Copyright © 2011-2022 走看看