SharePoint PerformancePoint Service-PowerShell

1. 配置托管服务账户

Set-SPPerformancePointSecureDataValues  -ServiceApplication

"PerformancePoint Service Application"

–DataSourceUnattendedServiceAccount (Get-Credential)

2. 显示托管服务账户

Get-SPPerformancePointSecureDataValues –ServiceApplication

"PerformancePoint Service Application"

3. 创建一个可信内容位置

New-SPPerformancePointServiceApplicationTrustedLocation

-Url "http://sp2010/Lists/PPS Content" -ServiceApplication

"PerformancePoint Service Application" –Type List

–TrustedLocationType Content

4. 创建一个可信数据源位置

New-SPPerformancePointServiceApplicationTrustedLocation -Url "http:// sp2010/PPS DataSource" -ServiceApplication

"PerformancePoint Service Application" –Type DocumentLibrary

–TrustedLocationType DataSource

5. 显示所有可信内容位置

Get-SPPerformancePointServiceApplication

"Performance Point Service Application" |

Get-SPPerformancePointServiceApplicationTrustedLocation

-Identity $_.ID | where {$_.FileType -eq "Content"}

6. 显示所有可信数据源位置

Get-SPPerformancePointServiceApplication

"Performance Point Service Application"

| Get-SPPerformancePointServiceApplicationTrustedLocation

-Identity $_.ID | where {$_.FileType -eq "DataSource"}

7. 显示信任位置的明细

Get-SPPerformancePointServiceApplication

"Performance Point Service Application" |

Get-SPPerformancePointServiceApplicationTrustedLocation

-Identity $_.ID | select *

8. 获取指定的信任位置

$trustedLocation =

Get-SPPerformancePointServiceApplicationTrustedLocation -Identity fab6396b-5cd3-4f17-be60-57ae7d18c8a6

9. 移除一个信任位置

$trustedLocation =

Get-SPPerformancePointServiceApplicationTrustedLocation

-Identity fab6396b-5cd3-4f17-be60-57ae7d18c8a6

Remove-SPPerformancePointServiceApplicationTrustedLocation

$trustedLocation

10. 配置PerformancePoint Service强制信任位置

内容位置

Set-SPPerformancePointServiceApplication -Identity

"PerformancePoint Service Application"

–TrustedContentLocationsRestricted $true

数据源位置

Set-SPPerformancePointServiceApplication -Identity

"PerformancePoint Service Application"

–TrustedDataSourceLocationsRestricted $true

11. 配置PerformancePoint Service应用程序设置

Set-SPPerformancePointServiceApplication -Identity

"PerformancePoint Service Application" –CommentsDisabled $false

–CommentsScorecardMax 100

你可能感兴趣的:(performance)