February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to obtain a specific State Service Application reference.
Solution: Use the Get-SPStateServiceApplication cmdlet to assign a variable the results using the -Identity parameter.
Providing the identity of the State Service Application with the Get-SPStateServiceApplication cmdlet retrieves a specific State Service Application. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 18.7.
Listing 18.7. Assigning a Variable to a Specific State Service Application
$stateSA = Get-SPStateServiceApplication -Identity 5da22672-b2ad-4e68-b725-1e91a7e693eb
Tip
You may use the display name of the State Service Application in quotes instead of providing ...
Read now
Unlock full access