Display Available Sandboxed Solutions in a Site Collection
Scenario/Problem: You need to obtain a sandboxed solution reference and therefore need a listing of available solutions.
Solution: Use the Get-SPUserSolution
cmdlet with a specified site collection.
To obtain a sandboxed solution reference object, you need to find the identity of the sandboxed solution. Using Get-SPUserSolution
with the -Site
parameter displays all available sandboxed solutions, as shown in Listing 9.11.
Get-SPUserSolution -site "http://intranet.sp2013.com/sites/UserSC"
Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.