This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Add-SPUserSolutionProperties | |
{ | |
<# | |
.Synopsis | |
This function will allow you to add additional properties to a Sandboxed solution | |
.Description | |
This function will add the additional Sandboxed solution information specified under the " #Sandboxed Solution Properties " comment tag | |
.Example | |
C:\> Add-SPUserSolutionProperties –SiteUrl “http://yourdomain.com/sites/Finance –SolutionName My.Sandboxed.Solution -SolutionId 6b701ca1-9c46-452f-8f91-73799ffb24fa -SolutionHash 8JfkvlDR9eTUcdZb1GDncs+hhqy8wZPd0oEh2GIK/20= | |
.Notes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open the Site Collection and the Solution Gallery Library | |
$web = Get-SPWeb http://yourDomain/ | |
$solGallery = $web.Lists["Solution Gallery"] | |
# View all of the details on the specified Solution | |
$solGallery.Items | Where-Object {$_.displayName -eq "SolutionName"} | |
# View the properties of the specified Solution | |
$solution = $solGallery.Items | Where-Object {$_.displayName -eq "SolutionName"} | |
$solution.Properties |
NewerOlder