1. Add a SharePoint Solution
Add-SPSolution -LiteralPath "C:\Demo\wspDemo\SharePointCustomImageLoad.wsp" 2. Install Solution Install-SPSolution -Identity "SharePointCustomImageLoad.wsp" -GACDeployment -force 3. Retract Solution Uninstall-SPSolution -Identity "SharePointCustomImageLoad.wsp"
4. Remove Solution
Remove-SPSolution -Identity "SharePointCustomImageLoad.wsp"
5. Get Solution
Get-SPSolution
#View User Solutions
Get-SPUserSolution -Site "http://w15-sp"
#View ID of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").SolutionID
#View Status of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").Status
#View Name of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").Name
#View Signature of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").Signature
#View Assemblies of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").HasAssemblies
Get-SPUserSolution -Site "http://w15-sp"
#View ID of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").SolutionID
#View Status of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").Status
#View Name of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").Name
#View Signature of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").Signature
#View Assemblies of User Solutions
(Get-SPUserSolution -Site "http://w15-sp").HasAssemblies
No comments:
Post a Comment