Get a Specific Trusted Location

Scenario/Problem: You need to obtain a specific trusted location reference.

Solution: Use the Get-SPPerformancePointServiceApplicationTrustedLocation cmdlet to assign a variable the results using the -Identity and -ServiceApplication parameters.

Providing the identity of the trusted data connection library to the Get-SPPerformancePointServiceApplicationTrustedLocation cmdlet retrieves a specific data connection library instance. Use this to assign the results to a variable for use in other cmdlets, as shown in Listing 22.8.

Listing 22.8. Assigning a Variable to a Specific Trusted Location

$trustedLocation = Get-SPPerformancePointServiceApplicationTrustedLocation -Identityfab6396b-5cd3-4f17-be60-57ae7d18c8a6 ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.