Get a Specific Sandboxed Solution


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.

Listing 9.12. Assigning a Variable to a Specific Sandboxed Solution


$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.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.165.180