SharePoint 用户配置文件服务

来源:互联网 发布:nestopia mac 连发 编辑:程序博客网 时间:2024/05/22 08:23

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

Get-SPServiceApplication

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

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

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

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

4. 移除旧的注释

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

5. 移除旧的评分

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

6. 移除旧的标签

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

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

Update-SPProfilePhotoStore –MySiteHostLocation http://mysites

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

SPSiteSubscriptionProfileConfig    SPProfileServiceApplicationSecurity    SPProfileServiceApplicationProx
原创粉丝点击