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.
$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.
3.144.16.254