Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
51 views

WSP package deployed through Powershell commands not reflecting the changes

There are few custom items like lists,content Types and pages which gets deployed through couple of features. When I directly deploy from visual studio, the custom items are deleted and recreated ...
user38433's user avatar
  • 389
0 votes
1 answer
177 views

Update wsp on a specific web application(with multiples)

I have a SharePoint farm with multiple(let us say I have 5 web applications). Every solution has currently the wsp solution installed(we can call it solution1.wsp) The thing I want to do is I want ...
BlommaN's user avatar
  • 23
0 votes
1 answer
308 views

How to execute powershell script from server1 for deploying wsp in server2

I am trying to run a powershell script in server1 to deploy WSP file present in server2. Here is my code: $password = ConvertTo-SecureString "password" -AsPlainText -Force $cred = New-Object System....
Purushottam.Prasad's user avatar
1 vote
0 answers
61 views

WebParts Removed From Web.config After WSP Deployment

I have a SharePoint 2013 web site with custom web parts. Lately, I've been running into an issue in which all the safecontrol elements that correspond to my custom webparts disappear from SharePoint'...
Craig Moran's user avatar
1 vote
0 answers
112 views

How to find out if a solution is deployad with -FullTrustBinDeployment parameter

I am trying to find a piece of PowerShell script that gives me the list of solutions deployed with FullTrustBinDeployment parameter.
Aslan's user avatar
  • 532
1 vote
1 answer
7k views

PowerShell command for Add and Install .wsp to Site Collection

need to add and install .wsp file to the Site Collection using PoweShell
Mohamed Arif's user avatar
1 vote
0 answers
511 views

Powershell run error: the term is not recognized

I want to run sharepoint powershell script, but I have this message error: the term '.\DeployPackages' is not recognized as the name of a cmdlet, function, script file, or operable program... same ...
BKChedlia's user avatar
  • 303
2 votes
2 answers
3k views

SharePoint Responsive Package PNP tools not able to enable feature in Package

I am trying to implement Responsive UI Package for SharePoint on-premises (2013 and 2016) from this link http://dev.office.com/blogs/announcing-responsive-ui-package-for-sharepoint-on-premises-2013-...
Ankitkumar Malde's user avatar
1 vote
1 answer
249 views

Wait for retraction of each WSP before proceeding with the next in PowerShell

I am trying to create a PowerShell script for Adding and Deploying WSPs. I have multiple WSPs. Initially, I have to Retract and Remove existing WSPs, before I Add and Deploy them. As we know, the ...
Ven's user avatar
  • 1,147
2 votes
1 answer
910 views

Powershell: Is there a way to extract the Identity from a WSP file?

I want to automatically add and install some wsp files. To check if the file is already installed I (think I) need the identity of the solution that I am about to deploy. How can I extract the ...
Dave's user avatar
  • 617
1 vote
0 answers
63 views

Disadvantages of starting a remote powershell session and doing deployment

Are there any disadvantages in starting a New-PSSession from dev machine and deploying the wsp to QA machine remotely rather than going to QA machine and deploying the wsp?
mak's user avatar
  • 191
0 votes
1 answer
499 views

how to move wsp's from one server to another server using powershell

I have a requirement to move all WSP's from Local Machine to QA server using PowerShell. Any links please.
mak's user avatar
  • 191
0 votes
0 answers
270 views

SharePoint PowerShell Script deployment. Only errors outside of Visual Studio?

I have a problem regarding deployment of WSP package. I develop the solution using Visual Studio and use No Activation + a PowerShell script as 'post-deployment' command. The PowerShell script is the ...
Water's user avatar
  • 539
0 votes
2 answers
152 views

Deployment Problems

I am trying to deploy SharePoint web parts that are based on a SharePoint project developed beforehand. I deployed them using a .bat and .ps1 files, running the former from command prompt. I've been ...
Chris's user avatar
  • 127
1 vote
1 answer
3k views

Upload site template PowerShell

I am using SharePoint 2013 and i want to create some spweb from a site template... I have created a site and added my desired content and i saved that site as template, then went to solution gallery ...
Haithem KAROUI's user avatar
1 vote
1 answer
270 views

Deploy wsp without logging to SP server

Can i deploy a wsp using powershell batch file without logging to the sp server ?
Nikhil J's user avatar
  • 4,934
0 votes
1 answer
356 views

What does "Synchronize" paramter of Install-SPSolution do?

Install-SPSolution command can accept an optional Synchronize parameter. MSDN says that it "synchronizes all solutions or the specified solution in the local farm". But what does this mean? What ...
w128's user avatar
  • 652
0 votes
2 answers
216 views

Which of the foll. powershell script is correct way to install a timer job into SharePoint?

1: install-spsolution Solution.wsp -webapplication "webapplication" -GACDeployment –force 2: install-spsolution Solution.wsp -GACDeployment –force Which of above is best practice?
variable's user avatar
  • 4,440
1 vote
2 answers
4k views

Download/Export solution from site solution gallery

I'm trying to automate the process of downloading one solution and then add/install the same solution to other site collections. The first thing to do would be to download the freshly created solution ...
joweiser's user avatar
  • 194
0 votes
1 answer
231 views

Error while deploying WSP through SP 2010 Management Shell

I am trying to deploy a wsp through SP 2010 Mgmt Shell but every time it throws an error: This is the script that I am running: Add-SPSolution -LiteralPath "E:\QD Survey 2013-01-10\QDSurvey.wsp"
Zakir HC's user avatar
  • 3,650
3 votes
1 answer
463 views

Windows PowerShell Vs. SharePoint PowerShell for Deployments

I am using Windows Server 2008 R2 with SharePoint 2010. I see two PowerShell tools on this machine: Windows PowerShell and the SharePoint 2010 Management Shell. Does anyone know the difference? Can ...
Ola's user avatar
  • 4,385
6 votes
4 answers
60k views

How do I update an already existing wsp on farm? [duplicate]

Possible Duplicate: Update-SPSolution does not Deploy Solution I have a wsp that is already deployed on the farm. I made some code changes. I cannot use the Add-SPSolution command because I ...
ninel's user avatar
  • 653
4 votes
2 answers
11k views

What's wrong with Uninstall-SPSolution and AllWebApplications parameter?

When I try to uninstall WSP with following line, everything is ok: Uninstall-SPSolution project.wsp # no error - OK When I try to add switch parameter -AllWebApplications, I get error (something ...
jumbo's user avatar
  • 434
6 votes
6 answers
21k views

Detecting Solution Deploying Status

I am Looking for a way to detect if the a solution is deploying the following code does not seem to return "Deploying" like I see in central admin. $wspID = Get-SPSolution -Identity 'mysolution.wsp'; ...
ChiliYago's user avatar
  • 2,166
0 votes
2 answers
5k views

Solution Deployed Successfully but Web parts not available

I'm running into a deployment problem in my sharepoint 2010 environment. I built a small 'Hello World' type web part in visual studio 2010 and then deployed to my development environment via visual ...
Felipe Kettle's user avatar
1 vote
2 answers
2k views

This powershell runs but why is it so slow

I ran this powershell which automates wsp addition, activate, deploy web parts and it runs fine. However, it takes about 3 minutes to go through the whole process. Is this norm? = = = powershell code ...
Shahin Mridha's user avatar
2 votes
3 answers
7k views

SharePoint 2010 - Install Site Template using Powershell script

I want to install site template in SharePoint 2010. Basically i want to know how use install-spwebtemplate wsp name : SPT_SiteTemplate.wsp Name : SPT_SiteTemplate
Monica Jagani's user avatar
7 votes
1 answer
2k views

Problem installing web part using Powershell

We've developed a custom Visual Web Part using Visual Studio 2010 for Sharepoint 2010 Server. The webpart gets deployed when executed from VS (F5), so we can add it wherever we want using Sharepoint ...
empz's user avatar
  • 781
6 votes
2 answers
2k views

How to reproduce Visual Studio "Deploy" action?

It seems like whenever I am developing a web part and I "Deploy" it from Visual Studio, everything gets deployed and works exactly as I would expect. When I take my WSP and try to install it to a ...
Abe Miessler's user avatar
  • 6,755
3 votes
2 answers
13k views

Adding a WSP through the Management Shell?

I have a WSP that I am trying to install on my development SharePoint server. I used the Management Shell to do this: Add-SPSolution -LiteralPath c:\temp\mySolution.wsp and then: Install-...
Abe Miessler's user avatar
  • 6,755
8 votes
3 answers
32k views

Install-SPSolution : This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

I have a powershell script that deploys about 12 web parts. They have all been created in the manner through visual studio 2010 and are being deployed to sharepoint 2010. I am getting the following ...
user avatar