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

SharePoint 用户配置文件服务的更多相关文章

  1. 电脑开机失败提示"用户配置文件服务登录失败"的三种解决办法

    最近遇到这样一个怪现象,就是每次打开电脑输入密码,突然提示"User Profile Service 服务未能登录,无法加载用户配置文件",然后就没办法正常开机了,为什么会这样呢? ...

  2. 解决sharepoint 2010 用户配置文件同步服务 正在启动

    用户配置文件同步服务一直显示“正在启动”,而且无法停止,如下办法可以停止这个服务: 在sharepoint power shell 中执行下面的命令: Get-spserviceinstance 获取 ...

  3. 如何排查sharepoint2010用户配置文件同步服务启动问题

    用户配置文件同步服务与 Microsoft Forefront Identity Manager (FIM) 交互,以与外部系统(如目录服务和业务系统)同步配置文件信息.启用用户配置文件同步服务时,将 ...

  4. 将AD域漫游用户配置文件放在samba服务器中

    书接上回https://www.cnblogs.com/jackadam/p/11448497.html 我们已经将linux服务器设置为域成员,启动samba服务后,已经实现了使用域账号验证,自动创 ...

  5. [讨论] 这几天来封装Win7用户配置文件丢失的解决方法个人心得

    [讨论] 这几天来封装Win7用户配置文件丢失的解决方法个人心得 prerouting 发表于 2010-5-9 16:50:46 https://www.itsk.com/thread-36634- ...

  6. SharePoint配置搜索服务和指定搜索范围

    转载:http://constforce.blog.163.com/blog/static/163881235201201211843334/ 一.配置SharePoint Foundation搜索 ...

  7. selenium启动Chrome时,加载用户配置文件

    selenium启动Chrome时,加载用户配置文件   Selenium操作浏览器是不加载任何配置的,网上找了半天,关于Firefox加载配置的多点,Chrome资料很少,下面是关于加载Chrome ...

  8. xp默认安装路径及本地用户配置文件存放路径修改

    xp默认安装路径及本地用户配置文件存放路径修改 修改注册表可能会造成您的系统崩溃或数据丢失,请先行备份操作系统,以备不测!!! 备份注册表步骤: 1.在“桌面”上按快捷键“Ctrl+R”,调出“运行” ...

  9. 利用 ssh 的用户配置文件 config 管理 ssh 会话

    http://dhq.me/use-ssh-config-manage-ssh-session 利用 ssh 连接远程服务器,一般都要输入以下类似命令: 1 ssh user@hostname -p ...

随机推荐

  1. perl usage()和getopt

    #!/usr/bin/perl#perl search.pl --infile Targets.Lung.Carcinoma.genelist.txt --homogene Homo_sapiens. ...

  2. codeforces 350 div2 D Magic Powder - 2 二分

    D2. Magic Powder - 2 time limit per test 1 second memory limit per test 256 megabytes input standard ...

  3. matplotlib-绘制精美的图表

    matplotlib库链接:http://matplotlib.org/gallery.html matplotlib绘制精美图标链接:http://old.sebug.net/paper/books ...

  4. django视图函数及快捷方式

    视图函数,简称视图,本质上是一个简单的Python函数,它接受Web请求并且返回Web响应. 响应的内容可以是HTML网页.重定向.404错误,XML文档或图像等任何东西.但是,无论视图本身是个什么处 ...

  5. Shell循环输入符合条件为止

    提供用户输入,直到输入d/D/r/R为止. #!/bin/bash ]; do echo -n "(D)ebug or (R)elease?" read select_build_ ...

  6. Codeforces 847I - Noise Level

    847I - Noise Level 思路:bfs. 代码: #include<bits/stdc++.h> using namespace std; #define ll long lo ...

  7. thinkphp5开发的网站出现”No input file specified”(php版本5.6.27)

    thinkphp5开发的网站出现”No input file specified”(php版本5.6.27) 一.总结 一句话总结:搜索引擎一定要用google,比百度节约时间一万倍,google啊, ...

  8. SVN提交文件失败:系统找不到指定路径

    完成程序代码工作后,进行SVN的文件提交.先进行项目的更新,然后在修改的文件上进行提交操作,发现SVN弹出提示信息,“系统找不到指定路径”提交失败,如下图:                       ...

  9. 20170708xlVBA添加新产品修改公式

    Sub ControlInsertProduct() Dim Wb As Workbook Dim OneSht As Worksheet Dim Arr As Variant Dim i As Lo ...

  10. spoj Prime Generator

    题意:判断ll-rr范围内的质数. 一个个用miller-rabin算法判断 //#pragma comment(linker,"/STACK:1024000000,1024000000&q ...