February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to obtain a Profile Service application instance reference.
Solution: Use the Get-SPServiceApplication cmdlet to assign a variable the results using the -Identity parameter.
Providing the identity of the Profile Service Application instance with the Get-SPServiceApplication cmdlet retrieves a specific secure store service instance. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 14.2.
Listing 14.2. Assigning a Variable to a Specific Metadata Service Application
$profileSA = Get-SPServiceApplication -Identity 9b6235e4-f306-4ccc-8192-0c83cb679476
No cmdlet exists for getting an object type related to a user profile service ...
Read now
Unlock full access