Get a Specific BCS 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 Business Data Connectivity ServiceApplication instance with the Get-SPServiceApplication cmdlet retrieves a specific Business Data Connectivity Service instance. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 15.2.

Listing 15.2. Assigning a Variable to a Business Data Service Application

$bcs = Get-SPServiceApplication -Identity b7b3652e-6f51-4161-935a-0631a1100ecf

No cmdlet exists for getting get an object type related ...

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.