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