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 to a Business Data Connectivity Service application. Any cmdlet using the service application identity uses the SPServiceApplicationPipeBind type, so a generic service application object needs to be utilized.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.16.254