Share a Service Application
Scenario/Problem: You need to make a service application available outside of the local farm.
Solution: Use the Publish-SPServiceApplication cmdlet with a service application variable.
The Publish-SPServiceApplication cmdlet enables you to make a specific service application available outside the current farm. Use this in conjunction with the Get-SPServiceApplication cmdlet (explained in a previous section), as shown in Listing 6.5.
Listing 6.5. Example Configuration Script for Sharing a Service Application
$sApp = Get-SPServiceApplication -Identity bc4399ed-a2e0-4397-bf07-cd3d207e630ePublish-SPServiceApplication $sApp
Tip
You can provide a help page link (URL) using the -Infolink parameter with the Publish-SPServiceApplication ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access