Hi, I have a simple powershell:
Add-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue Add-SPSolution -LiteralPath "BNP.Cardif.Intranet.wsp"
The WSP file is on the same directory of the PS1 file, even thought it gives me the message:
Add-SPSolution : Failed to extract the cab file in the solution. At C:\Workspace\BNP\BNP.Cardif.Intranet\BNP.Cardif.Intranet\bin\Debug\Add-SPSolution.ps1:3 char:1+ Add-SPSolution -LiteralPath "BNP.Cardif.Intranet.wsp"+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidData: (Microsoft.Share...dletAddSolution:SPCmdletAddSolution) [Add-SPSolution], S PException+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSolutionAny ideas pls? Thanks