February 2013
Intermediate to advanced
304 pages
8h 26m
English
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.
Listing 6.4. Example Configuration Script for a Service Application
$sApp = Get-SPServiceApplication -Identity bc4399ed-a2e0-4397-bf07-cd3d207e630eSet-SPServiceApplication $sApp -IISWebServiceApplicationPool"ServiceAppPool" ...
Read now
Unlock full access