Scenario/Problem: You need to obtain a specific solution reference.
Solution: Use the Get-SPUserSolution
cmdlet to assign a variable the results using the -Identity
parameter.
Providing the identity of the sandboxed solution with the Get-SPUserSolution
cmdlet retrieves a specific sandboxed solution. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 9.12.
$userSolution = Get-SPUserSolution
-Identity c0e31dec-294d-4f2d-9ae4-f2e637c766bd
-site "http://intranet.sp2013.com/sites/UserSC"
Tip
Instead of using the solution GUID, you may use the name of the solution as listed in the output when issuing Get-SPUserSolution
.
3.141.165.180