Get a Specific Secure Store Service Application Instance

Scenario/Problem: You need to obtain a Secure Store 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 Secure Store 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 16.2.

Listing 16.2. Assigning a Variable to a Specific Metadata Service Application

$sss = Get-SPServiceApplication -Identity bc4399ed-a2e0-4397-bf07-cd3d207e630e

No cmdlet exists for getting an object type related to a Secure Store ...

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.