All Questions
Tagged with solution-package powershell
31 questions
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 ...
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 ...
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....
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'...
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.
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
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 ...
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-...
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 ...
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 ...
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?
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.
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 ...
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 ...
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 ...
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 ?
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 ...
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?
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 ...
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"
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 ...
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 ...
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 ...
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';
...
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 ...
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 ...
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
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 ...
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 ...
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-...
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 ...