You have a SharePoint Server 2013 Service Pack 1 (SP1) server farm. You need to create
a new State Service service application by using a Window PowerShell script. Which
cmdlets should you use in the PowerShell script? (Each correct answer presents part of the
solution. Choose all that apply.)
A.
New-SPStateServiceApplicationProxy
B.
Grant-SPBusinessDataCatalogMetadataObject
C.
New-SPStateServiceAppplication
D.
New-SPEnterpriseSearchServiceApplicationProxy
E.
New-SPEnterpriseSearchMetaDataCategory
F.
New-SPManagePath
Explanation:
This Service Application is not available for creation in the New dialog in Central Administration, Manage
Service Application, so it requires some special treatment
1. $serviceApp = New-SPStateServiceApplication -Name State Service Application
2. New-SPStateServiceDatabase -Name SharePoint_Service_State -ServiceApplication $serviceApp
3. New-SPStateServiceApplicationProxy -Name State Service Application Proxy -ServiceApplication
$serviceApp -DefaultProxyGroup
Thats it!
http://blog.blksthl.com/2012/02/14/create-a-new-state-service-service-application-using-powershell/