Configure IIS Settings for a Service Application
Scenario/Problem: You need to configure IIS settings for a service application.
Solution: Use the Set-SPServiceApplication
cmdlet to set IIS settings using a service application variable.
The Set-SPServiceApplication
cmdlet enables you to set the default endpoint, the application pool, and/or the service proxy for a specific service application. Use this in conjunction with the Get-SPServiceApplication
cmdlet (explained in the previous section), as shown in Listing 6.4.
$sApp = Get-SPServiceApplication -Identity bc4399ed-a2e0-4397-bf07-cd3d207e630eSet-SPServiceApplication $sApp -IISWebServiceApplicationPool"ServiceAppPool" ...
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.